oci 2.14.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (894) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -2
  3. data/lib/oci.rb +5 -0
  4. data/lib/oci/ai_anomaly_detection/ai_anomaly_detection.rb +76 -0
  5. data/lib/oci/ai_anomaly_detection/anomaly_detection_client.rb +2054 -0
  6. data/lib/oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.rb +658 -0
  7. data/lib/oci/ai_anomaly_detection/models/action_type.rb +14 -0
  8. data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint.rb +350 -0
  9. data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_collection.rb +150 -0
  10. data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_summary.rb +312 -0
  11. data/lib/oci/ai_anomaly_detection/models/anomaly.rb +210 -0
  12. data/lib/oci/ai_anomaly_detection/models/anomaly_detect_result.rb +154 -0
  13. data/lib/oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details.rb +154 -0
  14. data/lib/oci/ai_anomaly_detection/models/change_data_asset_compartment_details.rb +154 -0
  15. data/lib/oci/ai_anomaly_detection/models/change_model_compartment_details.rb +156 -0
  16. data/lib/oci/ai_anomaly_detection/models/change_project_compartment_details.rb +156 -0
  17. data/lib/oci/ai_anomaly_detection/models/create_ai_private_endpoint_details.rb +231 -0
  18. data/lib/oci/ai_anomaly_detection/models/create_data_asset_details.rb +253 -0
  19. data/lib/oci/ai_anomaly_detection/models/create_model_details.rb +238 -0
  20. data/lib/oci/ai_anomaly_detection/models/create_project_details.rb +211 -0
  21. data/lib/oci/ai_anomaly_detection/models/data_asset.rb +340 -0
  22. data/lib/oci/ai_anomaly_detection/models/data_asset_collection.rb +150 -0
  23. data/lib/oci/ai_anomaly_detection/models/data_asset_summary.rb +341 -0
  24. data/lib/oci/ai_anomaly_detection/models/data_item.rb +160 -0
  25. data/lib/oci/ai_anomaly_detection/models/data_source_details.rb +193 -0
  26. data/lib/oci/ai_anomaly_detection/models/data_source_details_atp.rb +302 -0
  27. data/lib/oci/ai_anomaly_detection/models/data_source_details_influx.rb +214 -0
  28. data/lib/oci/ai_anomaly_detection/models/data_source_details_object_storage.rb +186 -0
  29. data/lib/oci/ai_anomaly_detection/models/data_source_type.rb +12 -0
  30. data/lib/oci/ai_anomaly_detection/models/detect_anomalies_details.rb +202 -0
  31. data/lib/oci/ai_anomaly_detection/models/detection_result_item.rb +184 -0
  32. data/lib/oci/ai_anomaly_detection/models/embedded_detect_anomalies_request.rb +192 -0
  33. data/lib/oci/ai_anomaly_detection/models/influx_details.rb +191 -0
  34. data/lib/oci/ai_anomaly_detection/models/influx_details_v1v8.rb +176 -0
  35. data/lib/oci/ai_anomaly_detection/models/influx_details_v2v0.rb +176 -0
  36. data/lib/oci/ai_anomaly_detection/models/influx_version.rb +11 -0
  37. data/lib/oci/ai_anomaly_detection/models/inline_detect_anomalies_request.rb +179 -0
  38. data/lib/oci/ai_anomaly_detection/models/model.rb +358 -0
  39. data/lib/oci/ai_anomaly_detection/models/model_collection.rb +150 -0
  40. data/lib/oci/ai_anomaly_detection/models/model_summary.rb +305 -0
  41. data/lib/oci/ai_anomaly_detection/models/model_training_details.rb +186 -0
  42. data/lib/oci/ai_anomaly_detection/models/model_training_results.rb +215 -0
  43. data/lib/oci/ai_anomaly_detection/models/operation_status.rb +16 -0
  44. data/lib/oci/ai_anomaly_detection/models/operation_type.rb +16 -0
  45. data/lib/oci/ai_anomaly_detection/models/per_signal_details.rb +267 -0
  46. data/lib/oci/ai_anomaly_detection/models/project.rb +302 -0
  47. data/lib/oci/ai_anomaly_detection/models/project_collection.rb +150 -0
  48. data/lib/oci/ai_anomaly_detection/models/project_summary.rb +279 -0
  49. data/lib/oci/ai_anomaly_detection/models/row_reduction_details.rb +205 -0
  50. data/lib/oci/ai_anomaly_detection/models/sort_order.rb +11 -0
  51. data/lib/oci/ai_anomaly_detection/models/update_ai_private_endpoint_details.rb +202 -0
  52. data/lib/oci/ai_anomaly_detection/models/update_data_asset_details.rb +196 -0
  53. data/lib/oci/ai_anomaly_detection/models/update_model_details.rb +196 -0
  54. data/lib/oci/ai_anomaly_detection/models/update_project_details.rb +196 -0
  55. data/lib/oci/ai_anomaly_detection/models/work_request.rb +312 -0
  56. data/lib/oci/ai_anomaly_detection/models/work_request_error.rb +173 -0
  57. data/lib/oci/ai_anomaly_detection/models/work_request_error_collection.rb +150 -0
  58. data/lib/oci/ai_anomaly_detection/models/work_request_log_entry.rb +160 -0
  59. data/lib/oci/ai_anomaly_detection/models/work_request_log_entry_collection.rb +150 -0
  60. data/lib/oci/ai_anomaly_detection/models/work_request_resource.rb +219 -0
  61. data/lib/oci/ai_anomaly_detection/models/work_request_summary.rb +312 -0
  62. data/lib/oci/ai_anomaly_detection/models/work_request_summary_collection.rb +150 -0
  63. data/lib/oci/ai_anomaly_detection/util.rb +3 -0
  64. data/lib/oci/api_client.rb +4 -4
  65. data/lib/oci/application_migration/application_migration.rb +2 -0
  66. data/lib/oci/application_migration/models/authorization_details.rb +2 -1
  67. data/lib/oci/application_migration/models/import_manifest.rb +208 -0
  68. data/lib/oci/application_migration/models/import_source_details.rb +192 -0
  69. data/lib/oci/application_migration/models/source_details.rb +2 -0
  70. data/lib/oci/application_migration/models/source_summary.rb +1 -0
  71. data/lib/oci/application_migration/models/source_types.rb +2 -1
  72. data/lib/oci/artifacts/artifacts.rb +15 -0
  73. data/lib/oci/artifacts/artifacts_client.rb +1104 -147
  74. data/lib/oci/artifacts/artifacts_client_composite_operations.rb +211 -0
  75. data/lib/oci/artifacts/models/change_repository_compartment_details.rb +155 -0
  76. data/lib/oci/artifacts/models/container_repository.rb +18 -4
  77. data/lib/oci/artifacts/models/container_repository_summary.rb +18 -4
  78. data/lib/oci/artifacts/models/create_generic_repository_details.rb +169 -0
  79. data/lib/oci/artifacts/models/create_repository_details.rb +259 -0
  80. data/lib/oci/artifacts/models/generic_artifact.rb +337 -0
  81. data/lib/oci/artifacts/models/generic_artifact_collection.rb +150 -0
  82. data/lib/oci/artifacts/models/generic_artifact_summary.rb +316 -0
  83. data/lib/oci/artifacts/models/generic_repository.rb +181 -0
  84. data/lib/oci/artifacts/models/generic_repository_summary.rb +181 -0
  85. data/lib/oci/artifacts/models/repository.rb +338 -0
  86. data/lib/oci/{usage_api/models/schedule_report_collection.rb → artifacts/models/repository_collection.rb} +6 -6
  87. data/lib/oci/artifacts/models/repository_summary.rb +299 -0
  88. data/lib/oci/artifacts/models/update_generic_artifact_by_path_details.rb +176 -0
  89. data/lib/oci/artifacts/models/update_generic_artifact_details.rb +176 -0
  90. data/lib/oci/artifacts/models/update_generic_repository_details.rb +161 -0
  91. data/lib/oci/artifacts/models/update_repository_details.rb +230 -0
  92. data/lib/oci/bastion/bastion.rb +48 -0
  93. data/lib/oci/bastion/bastion_client.rb +1041 -0
  94. data/lib/oci/bastion/bastion_client_composite_operations.rb +311 -0
  95. data/lib/oci/bastion/models/action_type.rb +14 -0
  96. data/lib/oci/bastion/models/bastion.rb +434 -0
  97. data/lib/oci/bastion/models/bastion_lifecycle_state.rb +15 -0
  98. data/lib/oci/bastion/models/bastion_summary.rb +348 -0
  99. data/lib/oci/bastion/models/change_bastion_compartment_details.rb +154 -0
  100. data/lib/oci/bastion/models/create_bastion_details.rb +283 -0
  101. data/lib/oci/bastion/models/create_managed_ssh_session_target_resource_details.rb +194 -0
  102. data/lib/oci/bastion/models/create_port_forwarding_session_target_resource_details.rb +180 -0
  103. data/lib/oci/bastion/models/create_session_details.rb +238 -0
  104. data/lib/oci/bastion/models/create_session_target_resource_details.rb +198 -0
  105. data/lib/oci/bastion/models/managed_ssh_session_target_resource_details.rb +208 -0
  106. data/lib/oci/bastion/models/operation_status.rb +15 -0
  107. data/lib/oci/bastion/models/operation_type.rb +14 -0
  108. data/lib/oci/bastion/models/port_forwarding_session_target_resource_details.rb +194 -0
  109. data/lib/oci/bastion/models/public_key_details.rb +154 -0
  110. data/lib/oci/bastion/models/session.rb +393 -0
  111. data/lib/oci/bastion/models/session_lifecycle_state.rb +14 -0
  112. data/lib/oci/bastion/models/session_summary.rb +303 -0
  113. data/lib/oci/bastion/models/session_type.rb +11 -0
  114. data/lib/oci/bastion/models/sort_order.rb +11 -0
  115. data/lib/oci/bastion/models/target_resource_details.rb +205 -0
  116. data/lib/oci/bastion/models/update_bastion_details.rb +215 -0
  117. data/lib/oci/bastion/models/update_session_details.rb +154 -0
  118. data/lib/oci/bastion/models/work_request.rb +309 -0
  119. data/lib/oci/bastion/models/work_request_error.rb +173 -0
  120. data/lib/oci/bastion/models/work_request_log_entry.rb +160 -0
  121. data/lib/oci/bastion/models/work_request_resource.rb +219 -0
  122. data/lib/oci/bastion/models/work_request_summary.rb +309 -0
  123. data/lib/oci/bastion/util.rb +3 -0
  124. data/lib/oci/bds/bds_client.rb +70 -77
  125. data/lib/oci/bds/bds_client_composite_operations.rb +21 -21
  126. data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +5 -5
  127. data/lib/oci/bds/models/add_block_storage_details.rb +4 -4
  128. data/lib/oci/bds/models/add_cloud_sql_details.rb +4 -5
  129. data/lib/oci/bds/models/add_worker_nodes_details.rb +3 -3
  130. data/lib/oci/bds/models/auto_scale_policy.rb +3 -3
  131. data/lib/oci/bds/models/auto_scale_policy_metric_rule.rb +2 -2
  132. data/lib/oci/bds/models/auto_scale_policy_rule.rb +2 -2
  133. data/lib/oci/bds/models/auto_scaling_configuration.rb +7 -8
  134. data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +7 -8
  135. data/lib/oci/bds/models/bds_instance.rb +17 -16
  136. data/lib/oci/bds/models/bds_instance_summary.rb +14 -14
  137. data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +2 -2
  138. data/lib/oci/bds/models/change_shape_details.rb +1 -1
  139. data/lib/oci/bds/models/change_shape_nodes.rb +2 -2
  140. data/lib/oci/bds/models/cloud_sql_details.rb +3 -3
  141. data/lib/oci/bds/models/cluster_details.rb +26 -13
  142. data/lib/oci/bds/models/create_bds_instance_details.rb +11 -11
  143. data/lib/oci/bds/models/create_node_details.rb +6 -6
  144. data/lib/oci/bds/models/kerberos_details.rb +2 -2
  145. data/lib/oci/bds/models/metric_threshold_rule.rb +4 -4
  146. data/lib/oci/bds/models/network_config.rb +1 -1
  147. data/lib/oci/bds/models/node.rb +15 -15
  148. data/lib/oci/bds/models/remove_auto_scaling_configuration_details.rb +2 -2
  149. data/lib/oci/bds/models/remove_cloud_sql_details.rb +2 -2
  150. data/lib/oci/bds/models/restart_node_details.rb +2 -2
  151. data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +4 -4
  152. data/lib/oci/bds/models/update_bds_instance_details.rb +5 -5
  153. data/lib/oci/bds/models/work_request.rb +9 -14
  154. data/lib/oci/bds/models/work_request_error.rb +2 -3
  155. data/lib/oci/bds/models/work_request_log_entry.rb +1 -1
  156. data/lib/oci/bds/models/work_request_resource.rb +2 -5
  157. data/lib/oci/container_engine/container_engine.rb +2 -0
  158. data/lib/oci/container_engine/container_engine_client.rb +118 -0
  159. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
  160. data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_details.rb +169 -0
  161. data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_status.rb +187 -0
  162. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +16 -1
  163. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +16 -1
  164. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +16 -1
  165. data/lib/oci/container_engine/models/work_request.rb +1 -0
  166. data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -0
  167. data/lib/oci/container_engine/models/work_request_summary.rb +1 -0
  168. data/lib/oci/core/blockstorage_client.rb +70 -1
  169. data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -0
  170. data/lib/oci/core/compute_client.rb +63 -0
  171. data/lib/oci/core/compute_client_composite_operations.rb +40 -0
  172. data/lib/oci/core/core.rb +4 -0
  173. data/lib/oci/core/models/attach_boot_volume_details.rb +35 -4
  174. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +35 -4
  175. data/lib/oci/core/models/block_volume_replica.rb +1 -1
  176. data/lib/oci/core/models/boot_volume_attachment.rb +41 -4
  177. data/lib/oci/core/models/boot_volume_replica.rb +1 -1
  178. data/lib/oci/core/models/copy_volume_group_backup_details.rb +196 -0
  179. data/lib/oci/core/models/create_boot_volume_details.rb +1 -1
  180. data/lib/oci/core/models/create_dhcp_details.rb +32 -4
  181. data/lib/oci/core/models/create_vlan_details.rb +11 -3
  182. data/lib/oci/core/models/create_volume_details.rb +1 -1
  183. data/lib/oci/core/models/dhcp_options.rb +38 -4
  184. data/lib/oci/core/models/emulated_volume_attachment.rb +12 -4
  185. data/lib/oci/core/models/encryption_in_transit_type.rb +11 -0
  186. data/lib/oci/core/models/i_scsi_volume_attachment.rb +64 -4
  187. data/lib/oci/core/models/image.rb +18 -1
  188. data/lib/oci/core/models/instance_agent_features.rb +2 -2
  189. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
  190. data/lib/oci/core/models/instance_source_via_image_details.rb +1 -1
  191. data/lib/oci/core/models/launch_instance_availability_config_details.rb +2 -2
  192. data/lib/oci/core/models/multipath_device.rb +180 -0
  193. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +12 -4
  194. data/lib/oci/core/models/update_dhcp_details.rb +32 -4
  195. data/lib/oci/core/models/update_instance_availability_config_details.rb +1 -1
  196. data/lib/oci/core/models/update_volume_attachment_details.rb +174 -0
  197. data/lib/oci/core/models/vlan.rb +2 -1
  198. data/lib/oci/core/models/volume_attachment.rb +58 -4
  199. data/lib/oci/core/virtual_network_client.rb +7 -5
  200. data/lib/oci/data_catalog/data_catalog.rb +11 -0
  201. data/lib/oci/data_catalog/data_catalog_client.rb +599 -7
  202. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +188 -0
  203. data/lib/oci/data_catalog/models/attribute.rb +43 -1
  204. data/lib/oci/data_catalog/models/attribute_summary.rb +33 -4
  205. data/lib/oci/data_catalog/models/change_metastore_compartment_details.rb +154 -0
  206. data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
  207. data/lib/oci/data_catalog/models/create_job_definition_details.rb +2 -1
  208. data/lib/oci/data_catalog/models/create_job_execution_details.rb +2 -1
  209. data/lib/oci/data_catalog/models/create_metastore_details.rb +232 -0
  210. data/lib/oci/data_catalog/models/custom_property.rb +17 -1
  211. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
  212. data/lib/oci/data_catalog/models/custom_property_summary.rb +63 -4
  213. data/lib/oci/data_catalog/models/custom_property_type_usage.rb +20 -4
  214. data/lib/oci/data_catalog/models/data_asset.rb +16 -1
  215. data/lib/oci/data_catalog/models/data_asset_export_scope.rb +172 -0
  216. data/lib/oci/data_catalog/models/data_asset_import_export_type_filter.rb +11 -0
  217. data/lib/oci/data_catalog/models/entity.rb +30 -1
  218. data/lib/oci/data_catalog/models/export_data_asset_details.rb +154 -0
  219. data/lib/oci/data_catalog/models/folder.rb +44 -1
  220. data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
  221. data/lib/oci/data_catalog/models/import_data_asset_details.rb +154 -0
  222. data/lib/oci/data_catalog/models/import_data_asset_job_result.rb +235 -0
  223. data/lib/oci/data_catalog/models/job.rb +1 -0
  224. data/lib/oci/data_catalog/models/job_definition.rb +1 -0
  225. data/lib/oci/data_catalog/models/job_definition_summary.rb +1 -0
  226. data/lib/oci/data_catalog/models/job_execution.rb +1 -0
  227. data/lib/oci/data_catalog/models/job_execution_summary.rb +1 -0
  228. data/lib/oci/data_catalog/models/job_summary.rb +1 -0
  229. data/lib/oci/data_catalog/models/job_type.rb +2 -1
  230. data/lib/oci/data_catalog/models/metastore.rb +325 -0
  231. data/lib/oci/data_catalog/models/metastore_summary.rb +292 -0
  232. data/lib/oci/data_catalog/models/object_relationship.rb +233 -0
  233. data/lib/oci/data_catalog/models/search_result.rb +15 -1
  234. data/lib/oci/data_catalog/models/type_custom_property_details.rb +20 -4
  235. data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
  236. data/lib/oci/data_catalog/models/update_metastore_details.rb +186 -0
  237. data/lib/oci/data_flow/data_flow_client.rb +3 -0
  238. data/lib/oci/data_flow/models/application.rb +16 -1
  239. data/lib/oci/data_flow/models/application_summary.rb +16 -1
  240. data/lib/oci/data_flow/models/create_application_details.rb +16 -1
  241. data/lib/oci/data_flow/models/create_run_details.rb +17 -1
  242. data/lib/oci/data_flow/models/run.rb +16 -1
  243. data/lib/oci/data_flow/models/update_application_details.rb +16 -1
  244. data/lib/oci/data_integration/data_integration.rb +52 -0
  245. data/lib/oci/data_integration/data_integration_client.rb +766 -24
  246. data/lib/oci/data_integration/models/abstract_format_attribute.rb +19 -4
  247. data/lib/oci/data_integration/models/abstract_read_attribute.rb +3 -0
  248. data/lib/oci/data_integration/models/abstract_write_attribute.rb +7 -0
  249. data/lib/oci/data_integration/models/auth_details.rb +213 -0
  250. data/lib/oci/data_integration/models/avro_format_attribute.rb +5 -1
  251. data/lib/oci/data_integration/models/bicc_read_attributes.rb +237 -0
  252. data/lib/oci/data_integration/models/config_parameter_value.rb +18 -4
  253. data/lib/oci/data_integration/models/connection.rb +4 -0
  254. data/lib/oci/data_integration/models/connection_details.rb +5 -1
  255. data/lib/oci/data_integration/models/connection_from_amazon_s3.rb +226 -0
  256. data/lib/oci/data_integration/models/connection_from_amazon_s3_details.rb +222 -0
  257. data/lib/oci/data_integration/models/connection_from_bicc.rb +236 -0
  258. data/lib/oci/data_integration/models/connection_from_bicc_details.rb +232 -0
  259. data/lib/oci/data_integration/models/connection_summary.rb +4 -0
  260. data/lib/oci/data_integration/models/connection_summary_from_amazon_s3.rb +227 -0
  261. data/lib/oci/data_integration/models/connection_summary_from_bicc.rb +223 -0
  262. data/lib/oci/data_integration/models/connector_attribute.rb +182 -0
  263. data/lib/oci/data_integration/models/create_connection_details.rb +5 -1
  264. data/lib/oci/data_integration/models/create_connection_from_amazon_s3.rb +210 -0
  265. data/lib/oci/data_integration/models/create_connection_from_bicc.rb +220 -0
  266. data/lib/oci/data_integration/models/create_data_asset_details.rb +5 -1
  267. data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +57 -1
  268. data/lib/oci/data_integration/models/create_data_asset_from_amazon_s3.rb +207 -0
  269. data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +57 -1
  270. data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +211 -0
  271. data/lib/oci/data_integration/models/create_schedule_details.rb +272 -0
  272. data/lib/oci/data_integration/models/create_task_details.rb +7 -1
  273. data/lib/oci/data_integration/models/create_task_from_oci_dataflow_task.rb +213 -0
  274. data/lib/oci/data_integration/models/create_task_from_rest_task.rb +348 -0
  275. data/lib/oci/data_integration/models/create_task_from_sql_task.rb +246 -0
  276. data/lib/oci/data_integration/models/create_task_run_details.rb +15 -1
  277. data/lib/oci/data_integration/models/create_task_schedule_details.rb +476 -0
  278. data/lib/oci/data_integration/models/csv_format_attribute.rb +5 -15
  279. data/lib/oci/data_integration/models/data_asset.rb +4 -0
  280. data/lib/oci/data_integration/models/data_asset_from_amazon_s3.rb +223 -0
  281. data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +227 -0
  282. data/lib/oci/data_integration/models/data_asset_summary.rb +4 -0
  283. data/lib/oci/data_integration/models/data_asset_summary_from_amazon_s3.rb +219 -0
  284. data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +223 -0
  285. data/lib/oci/data_integration/models/data_entity.rb +2 -0
  286. data/lib/oci/data_integration/models/data_entity_details.rb +3 -1
  287. data/lib/oci/data_integration/models/data_entity_from_data_store.rb +454 -0
  288. data/lib/oci/data_integration/models/data_entity_from_data_store_entity_details.rb +443 -0
  289. data/lib/oci/data_integration/models/data_entity_summary.rb +2 -0
  290. data/lib/oci/data_integration/models/data_entity_summary_from_data_store.rb +454 -0
  291. data/lib/oci/{usage_api/models/create_schedule_report_details.rb → data_integration/models/dataflow_application.rb} +20 -33
  292. data/lib/oci/data_integration/models/dependent_object_summary.rb +17 -4
  293. data/lib/oci/data_integration/models/enriched_entity.rb +31 -4
  294. data/lib/oci/data_integration/models/expression_operator.rb +250 -0
  295. data/lib/oci/data_integration/models/external_storage.rb +221 -0
  296. data/lib/oci/data_integration/models/json_format_attribute.rb +5 -1
  297. data/lib/oci/data_integration/models/lookup.rb +274 -0
  298. data/lib/oci/data_integration/models/native_shape_field.rb +3 -3
  299. data/lib/oci/data_integration/models/object_metadata.rb +17 -4
  300. data/lib/oci/data_integration/models/object_storage_write_attribute.rb +162 -0
  301. data/lib/oci/data_integration/models/object_storage_write_attributes.rb +164 -0
  302. data/lib/oci/data_integration/models/operator.rb +4 -1
  303. data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +22 -12
  304. data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +22 -12
  305. data/lib/oci/data_integration/models/oracle_read_attributes.rb +13 -2
  306. data/lib/oci/data_integration/models/oracle_write_attributes.rb +13 -2
  307. data/lib/oci/data_integration/models/parameter.rb +4 -3
  308. data/lib/oci/data_integration/models/parent_reference.rb +18 -4
  309. data/lib/oci/data_integration/models/parquet_format_attribute.rb +162 -0
  310. data/lib/oci/data_integration/models/patch_change_summary.rb +3 -0
  311. data/lib/oci/data_integration/models/patch_object_metadata.rb +3 -0
  312. data/lib/oci/data_integration/models/published_object.rb +3 -0
  313. data/lib/oci/data_integration/models/published_object_summary.rb +3 -0
  314. data/lib/oci/data_integration/models/schedule_summary.rb +295 -0
  315. data/lib/oci/data_integration/models/schedule_summary_collection.rb +150 -0
  316. data/lib/oci/data_integration/models/script.rb +202 -0
  317. data/lib/oci/data_integration/models/shape_field.rb +3 -3
  318. data/lib/oci/data_integration/models/task.rb +23 -4
  319. data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +5 -1
  320. data/lib/oci/data_integration/models/task_from_integration_task_details.rb +5 -1
  321. data/lib/oci/data_integration/models/task_from_oci_dataflow_task_details.rb +225 -0
  322. data/lib/oci/data_integration/models/task_from_pipeline_task_details.rb +5 -1
  323. data/lib/oci/data_integration/models/task_from_rest_task_details.rb +379 -0
  324. data/lib/oci/data_integration/models/task_from_sql_task_details.rb +265 -0
  325. data/lib/oci/data_integration/models/task_operator.rb +3 -0
  326. data/lib/oci/data_integration/models/task_run.rb +62 -1
  327. data/lib/oci/data_integration/models/task_run_details.rb +3 -0
  328. data/lib/oci/data_integration/models/task_run_summary.rb +3 -0
  329. data/lib/oci/data_integration/models/task_schedule_summary.rb +532 -0
  330. data/lib/oci/data_integration/models/task_schedule_summary_collection.rb +150 -0
  331. data/lib/oci/data_integration/models/task_summary.rb +6 -0
  332. data/lib/oci/data_integration/models/task_summary_from_oci_dataflow_task.rb +221 -0
  333. data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +356 -0
  334. data/lib/oci/data_integration/models/task_summary_from_sql_task.rb +254 -0
  335. data/lib/oci/data_integration/models/update_connection_details.rb +5 -1
  336. data/lib/oci/data_integration/models/update_connection_from_amazon_s3.rb +214 -0
  337. data/lib/oci/data_integration/models/update_connection_from_bicc.rb +224 -0
  338. data/lib/oci/data_integration/models/update_data_asset_details.rb +5 -1
  339. data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +57 -1
  340. data/lib/oci/data_integration/models/update_data_asset_from_amazon_s3.rb +198 -0
  341. data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +57 -1
  342. data/lib/oci/data_integration/models/update_data_asset_from_fusion_app.rb +202 -0
  343. data/lib/oci/data_integration/models/update_schedule_details.rb +299 -0
  344. data/lib/oci/data_integration/models/update_task_details.rb +7 -1
  345. data/lib/oci/data_integration/models/update_task_from_oci_dataflow_task.rb +217 -0
  346. data/lib/oci/data_integration/models/update_task_from_rest_task.rb +366 -0
  347. data/lib/oci/data_integration/models/update_task_from_sql_task.rb +250 -0
  348. data/lib/oci/data_integration/models/update_task_run_details.rb +15 -1
  349. data/lib/oci/data_integration/models/update_task_schedule_details.rb +490 -0
  350. data/lib/oci/data_safe/data_safe.rb +18 -0
  351. data/lib/oci/data_safe/data_safe_client.rb +731 -17
  352. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +247 -0
  353. data/lib/oci/{usage_api/models/update_schedule_report_details.rb → data_safe/models/activate_target_database_details.rb} +10 -14
  354. data/lib/oci/data_safe/models/autonomous_database_details.rb +166 -0
  355. data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +154 -0
  356. data/lib/oci/data_safe/models/connection_option.rb +194 -0
  357. data/lib/oci/data_safe/models/create_target_database_details.rb +261 -0
  358. data/lib/oci/data_safe/models/credentials.rb +164 -0
  359. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +20 -4
  360. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +54 -4
  361. data/lib/oci/data_safe/models/database_cloud_service_details.rb +194 -0
  362. data/lib/oci/data_safe/models/database_details.rb +231 -0
  363. data/lib/oci/data_safe/models/database_type.rb +12 -0
  364. data/lib/oci/data_safe/models/infrastructure_type.rb +13 -0
  365. data/lib/oci/data_safe/models/installed_database_details.rb +209 -0
  366. data/lib/oci/data_safe/models/on_prem_connector.rb +17 -1
  367. data/lib/oci/data_safe/models/on_prem_connector_summary.rb +17 -1
  368. data/lib/oci/data_safe/models/on_premise_connector.rb +162 -0
  369. data/lib/oci/data_safe/models/private_endpoint.rb +163 -0
  370. data/lib/oci/data_safe/models/service_list.rb +4 -0
  371. data/lib/oci/data_safe/models/target_database.rb +369 -0
  372. data/lib/oci/data_safe/models/target_database_lifecycle_state.rb +17 -0
  373. data/lib/oci/data_safe/models/target_database_summary.rb +359 -0
  374. data/lib/oci/data_safe/models/tls_config.rb +244 -0
  375. data/lib/oci/data_safe/models/update_target_database_details.rb +246 -0
  376. data/lib/oci/data_safe/models/work_request.rb +6 -0
  377. data/lib/oci/data_safe/models/work_request_summary.rb +6 -0
  378. data/lib/oci/data_science/data_science.rb +3 -0
  379. data/lib/oci/data_science/data_science_client.rb +16 -9
  380. data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -4
  381. data/lib/oci/data_science/models/create_model_details.rb +60 -4
  382. data/lib/oci/data_science/models/create_model_provenance_details.rb +18 -4
  383. data/lib/oci/data_science/models/metadata.rb +197 -0
  384. data/lib/oci/data_science/models/model.rb +60 -4
  385. data/lib/oci/data_science/models/model_deployment.rb +1 -1
  386. data/lib/oci/data_science/models/model_provenance.rb +18 -4
  387. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +17 -4
  388. data/lib/oci/data_science/models/notebook_session_shape_config_details.rb +169 -0
  389. data/lib/oci/data_science/models/notebook_session_shape_series.rb +13 -0
  390. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +41 -4
  391. data/lib/oci/data_science/models/update_model_details.rb +32 -4
  392. data/lib/oci/data_science/models/update_model_provenance_details.rb +18 -4
  393. data/lib/oci/database/database.rb +17 -0
  394. data/lib/oci/database/database_client.rb +1228 -46
  395. data/lib/oci/database/database_client_composite_operations.rb +416 -0
  396. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
  397. data/lib/oci/database/models/autonomous_database.rb +213 -6
  398. data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
  399. data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
  400. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
  401. data/lib/oci/{usage_api/models/schedule_report.rb → database/models/autonomous_database_key_history_entry.rb} +24 -36
  402. data/lib/oci/database/models/autonomous_database_standby_summary.rb +19 -4
  403. data/lib/oci/database/models/autonomous_database_summary.rb +213 -6
  404. data/lib/oci/database/models/cloud_exadata_infrastructure.rb +21 -4
  405. data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +21 -4
  406. data/lib/oci/database/models/configure_autonomous_database_vault_key_details.rb +182 -0
  407. data/lib/oci/database/models/create_autonomous_database_base.rb +118 -7
  408. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +21 -1
  409. data/lib/oci/database/models/create_autonomous_database_details.rb +24 -4
  410. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +21 -1
  411. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +21 -1
  412. data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +18 -4
  413. data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +283 -0
  414. data/lib/oci/database/models/create_database_software_image_details.rb +18 -4
  415. data/lib/oci/database/models/create_db_home_base.rb +18 -4
  416. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -1
  417. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -1
  418. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +5 -1
  419. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +5 -1
  420. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +5 -1
  421. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +29 -1
  422. data/lib/oci/database/models/create_pluggable_database_details.rb +233 -0
  423. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +21 -1
  424. data/lib/oci/database/models/customer_contact.rb +2 -2
  425. data/lib/oci/database/models/db_home_from_agent_resource_id.rb +380 -0
  426. data/lib/oci/database/models/db_node.rb +69 -1
  427. data/lib/oci/database/models/db_node_summary.rb +69 -1
  428. data/lib/oci/database/models/db_system_shape_summary.rb +72 -2
  429. data/lib/oci/database/models/exadata_infrastructure.rb +57 -1
  430. data/lib/oci/database/models/exadata_infrastructure_summary.rb +57 -1
  431. data/lib/oci/database/models/local_clone_pluggable_database_details.rb +185 -0
  432. data/lib/oci/database/models/maintenance_run.rb +4 -1
  433. data/lib/oci/database/models/maintenance_run_summary.rb +4 -1
  434. data/lib/oci/database/models/pluggable_database.rb +358 -0
  435. data/lib/oci/database/models/pluggable_database_connection_strings.rb +183 -0
  436. data/lib/oci/database/models/pluggable_database_summary.rb +361 -0
  437. data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +213 -0
  438. data/lib/oci/database/models/scan_details.rb +1 -1
  439. data/lib/oci/database/models/update_autonomous_database_details.rb +64 -5
  440. data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +18 -4
  441. data/lib/oci/database/models/update_data_guard_association_details.rb +237 -0
  442. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +15 -1
  443. data/lib/oci/database/models/update_external_macs_connector_details.rb +2 -1
  444. data/lib/oci/database/models/update_maintenance_run_details.rb +4 -1
  445. data/lib/oci/database/models/update_pluggable_database_details.rb +177 -0
  446. data/lib/oci/database/models/update_vm_cluster_details.rb +14 -1
  447. data/lib/oci/database/models/vm_cluster.rb +15 -2
  448. data/lib/oci/database/models/vm_cluster_summary.rb +15 -2
  449. data/lib/oci/database/models/vm_cluster_update.rb +346 -0
  450. data/lib/oci/database/models/vm_cluster_update_details.rb +183 -0
  451. data/lib/oci/database/models/vm_cluster_update_history_entry.rb +308 -0
  452. data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +311 -0
  453. data/lib/oci/database/models/vm_cluster_update_summary.rb +349 -0
  454. data/lib/oci/database_management/database_management.rb +25 -0
  455. data/lib/oci/database_management/db_management_client.rb +1467 -97
  456. data/lib/oci/database_management/models/awr_db_collection.rb +175 -0
  457. data/lib/oci/database_management/models/awr_db_cpu_usage_collection.rb +217 -0
  458. data/lib/oci/database_management/models/awr_db_cpu_usage_summary.rb +164 -0
  459. data/lib/oci/database_management/models/awr_db_metric_collection.rb +175 -0
  460. data/lib/oci/database_management/models/awr_db_metric_summary.rb +202 -0
  461. data/lib/oci/database_management/models/awr_db_parameter_change_collection.rb +175 -0
  462. data/lib/oci/database_management/models/awr_db_parameter_change_summary.rb +255 -0
  463. data/lib/oci/database_management/models/awr_db_parameter_collection.rb +175 -0
  464. data/lib/oci/database_management/models/awr_db_parameter_summary.rb +238 -0
  465. data/lib/oci/database_management/models/awr_db_report.rb +205 -0
  466. data/lib/oci/database_management/models/awr_db_snapshot_collection.rb +175 -0
  467. data/lib/oci/database_management/models/awr_db_snapshot_range_collection.rb +175 -0
  468. data/lib/oci/database_management/models/awr_db_snapshot_range_summary.rb +331 -0
  469. data/lib/oci/database_management/models/awr_db_snapshot_summary.rb +244 -0
  470. data/lib/oci/database_management/models/awr_db_sql_report.rb +204 -0
  471. data/lib/oci/database_management/models/awr_db_summary.rb +334 -0
  472. data/lib/oci/database_management/models/awr_db_sysstat_collection.rb +175 -0
  473. data/lib/oci/database_management/models/awr_db_sysstat_summary.rb +216 -0
  474. data/lib/oci/database_management/models/awr_db_top_wait_event_collection.rb +175 -0
  475. data/lib/oci/database_management/models/awr_db_top_wait_event_summary.rb +178 -0
  476. data/lib/oci/database_management/models/awr_db_wait_event_bucket_collection.rb +189 -0
  477. data/lib/oci/database_management/models/awr_db_wait_event_bucket_summary.rb +160 -0
  478. data/lib/oci/database_management/models/awr_db_wait_event_collection.rb +175 -0
  479. data/lib/oci/database_management/models/awr_db_wait_event_summary.rb +223 -0
  480. data/lib/oci/database_management/models/awr_query_result.rb +254 -0
  481. data/lib/oci/devops/devops.rb +177 -0
  482. data/lib/oci/devops/devops_client.rb +2344 -0
  483. data/lib/oci/devops/devops_client_composite_operations.rb +974 -0
  484. data/lib/oci/devops/models/absolute_wait_criteria.rb +162 -0
  485. data/lib/oci/devops/models/absolute_wait_criteria_summary.rb +162 -0
  486. data/lib/oci/devops/models/action_type.rb +15 -0
  487. data/lib/oci/devops/models/approval_action.rb +184 -0
  488. data/lib/oci/devops/models/approval_policy.rb +189 -0
  489. data/lib/oci/devops/models/approve_deployment_details.rb +187 -0
  490. data/lib/oci/devops/models/automated_deploy_stage_rollback_policy.rb +145 -0
  491. data/lib/oci/devops/models/backend_set_ip_collection.rb +150 -0
  492. data/lib/oci/devops/models/cancel_deployment_details.rb +150 -0
  493. data/lib/oci/devops/models/change_project_compartment_details.rb +154 -0
  494. data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +173 -0
  495. data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  496. data/lib/oci/devops/models/compute_instance_group_by_ids_selector.rb +162 -0
  497. data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +168 -0
  498. data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
  499. data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
  500. data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  501. data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +210 -0
  502. data/lib/oci/devops/models/compute_instance_group_deploy_environment_summary.rb +210 -0
  503. data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +299 -0
  504. data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +173 -0
  505. data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +299 -0
  506. data/lib/oci/devops/models/compute_instance_group_failure_policy.rb +191 -0
  507. data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +162 -0
  508. data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +162 -0
  509. data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_count.rb +166 -0
  510. data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_percentage.rb +166 -0
  511. data/lib/oci/devops/models/compute_instance_group_rollout_policy.rb +207 -0
  512. data/lib/oci/devops/models/compute_instance_group_selector.rb +191 -0
  513. data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +150 -0
  514. data/lib/oci/devops/models/count_based_approval_policy.rb +164 -0
  515. data/lib/oci/devops/models/create_compute_instance_group_deploy_environment_details.rb +182 -0
  516. data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +267 -0
  517. data/lib/oci/devops/models/create_deploy_artifact_details.rb +248 -0
  518. data/lib/oci/devops/models/create_deploy_environment_details.rb +238 -0
  519. data/lib/oci/devops/models/create_deploy_pipeline_deployment_details.rb +190 -0
  520. data/lib/oci/devops/models/create_deploy_pipeline_details.rb +219 -0
  521. data/lib/oci/devops/models/create_deploy_pipeline_redeployment_details.rb +178 -0
  522. data/lib/oci/devops/models/create_deploy_stage_details.rb +256 -0
  523. data/lib/oci/devops/models/create_deployment_details.rb +228 -0
  524. data/lib/oci/devops/models/create_function_deploy_environment_details.rb +182 -0
  525. data/lib/oci/devops/models/create_function_deploy_stage_details.rb +238 -0
  526. data/lib/oci/devops/models/create_invoke_function_deploy_stage_details.rb +228 -0
  527. data/lib/oci/devops/models/create_load_balancer_traffic_shift_deploy_stage_details.rb +255 -0
  528. data/lib/oci/devops/models/create_manual_approval_deploy_stage_details.rb +186 -0
  529. data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +182 -0
  530. data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +224 -0
  531. data/lib/oci/devops/models/create_project_details.rb +216 -0
  532. data/lib/oci/devops/models/create_single_deploy_stage_deployment_details.rb +204 -0
  533. data/lib/oci/devops/models/create_wait_deploy_stage_details.rb +186 -0
  534. data/lib/oci/devops/models/deploy_artifact.rb +407 -0
  535. data/lib/oci/devops/models/deploy_artifact_collection.rb +150 -0
  536. data/lib/oci/devops/models/deploy_artifact_override_argument.rb +174 -0
  537. data/lib/oci/devops/models/deploy_artifact_override_argument_collection.rb +150 -0
  538. data/lib/oci/devops/models/deploy_artifact_source.rb +193 -0
  539. data/lib/oci/devops/models/deploy_artifact_summary.rb +342 -0
  540. data/lib/oci/devops/models/deploy_environment.rb +376 -0
  541. data/lib/oci/devops/models/deploy_environment_collection.rb +150 -0
  542. data/lib/oci/devops/models/deploy_environment_summary.rb +332 -0
  543. data/lib/oci/devops/models/deploy_pipeline.rb +365 -0
  544. data/lib/oci/{usage_api/models/saved_schedule_report.rb → devops/models/deploy_pipeline_artifact.rb} +27 -39
  545. data/lib/oci/devops/models/deploy_pipeline_artifact_collection.rb +150 -0
  546. data/lib/oci/devops/models/deploy_pipeline_collection.rb +150 -0
  547. data/lib/oci/devops/models/deploy_pipeline_deployment.rb +213 -0
  548. data/lib/oci/devops/models/deploy_pipeline_deployment_summary.rb +201 -0
  549. data/lib/oci/devops/models/deploy_pipeline_environment.rb +182 -0
  550. data/lib/oci/devops/models/deploy_pipeline_environment_collection.rb +150 -0
  551. data/lib/oci/devops/models/deploy_pipeline_parameter.rb +174 -0
  552. data/lib/oci/devops/models/deploy_pipeline_parameter_collection.rb +150 -0
  553. data/lib/oci/devops/models/deploy_pipeline_redeployment.rb +230 -0
  554. data/lib/oci/devops/models/deploy_pipeline_redeployment_summary.rb +218 -0
  555. data/lib/oci/devops/models/deploy_pipeline_stage.rb +168 -0
  556. data/lib/oci/devops/models/deploy_pipeline_stage_collection.rb +150 -0
  557. data/lib/oci/devops/models/deploy_pipeline_summary.rb +299 -0
  558. data/lib/oci/devops/models/deploy_stage.rb +411 -0
  559. data/lib/oci/devops/models/deploy_stage_collection.rb +150 -0
  560. data/lib/oci/devops/models/deploy_stage_execution_progress.rb +303 -0
  561. data/lib/oci/devops/models/deploy_stage_execution_progress_details.rb +192 -0
  562. data/lib/oci/devops/models/deploy_stage_execution_step.rb +211 -0
  563. data/lib/oci/{usage_api/models/schedule_report_summary.rb → devops/models/deploy_stage_predecessor.rb} +7 -20
  564. data/lib/oci/devops/models/deploy_stage_predecessor_collection.rb +150 -0
  565. data/lib/oci/devops/models/deploy_stage_rollback_policy.rb +191 -0
  566. data/lib/oci/devops/models/deploy_stage_summary.rb +363 -0
  567. data/lib/oci/devops/models/deployment.rb +445 -0
  568. data/lib/oci/devops/models/deployment_argument.rb +160 -0
  569. data/lib/oci/devops/models/deployment_argument_collection.rb +150 -0
  570. data/lib/oci/devops/models/deployment_collection.rb +150 -0
  571. data/lib/oci/devops/models/deployment_execution_progress.rb +182 -0
  572. data/lib/oci/devops/models/deployment_summary.rb +363 -0
  573. data/lib/oci/devops/models/function_deploy_environment.rb +210 -0
  574. data/lib/oci/devops/models/function_deploy_environment_summary.rb +210 -0
  575. data/lib/oci/devops/models/function_deploy_stage.rb +270 -0
  576. data/lib/oci/devops/models/function_deploy_stage_execution_progress.rb +173 -0
  577. data/lib/oci/devops/models/function_deploy_stage_summary.rb +270 -0
  578. data/lib/oci/devops/models/generic_deploy_artifact_source.rb +190 -0
  579. data/lib/oci/devops/models/inline_deploy_artifact_source.rb +162 -0
  580. data/lib/oci/devops/models/invoke_function_deploy_stage.rb +260 -0
  581. data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +173 -0
  582. data/lib/oci/devops/models/invoke_function_deploy_stage_summary.rb +260 -0
  583. data/lib/oci/devops/models/load_balancer_config.rb +184 -0
  584. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage.rb +308 -0
  585. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  586. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_summary.rb +287 -0
  587. data/lib/oci/devops/models/load_balancer_traffic_shift_rollout_policy.rb +184 -0
  588. data/lib/oci/devops/models/manual_approval_deploy_stage.rb +218 -0
  589. data/lib/oci/devops/models/manual_approval_deploy_stage_execution_progress.rb +189 -0
  590. data/lib/oci/devops/models/manual_approval_deploy_stage_summary.rb +218 -0
  591. data/lib/oci/devops/models/no_deploy_stage_rollback_policy.rb +145 -0
  592. data/lib/oci/devops/models/notification_config.rb +154 -0
  593. data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +176 -0
  594. data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +210 -0
  595. data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +210 -0
  596. data/lib/oci/devops/models/oke_deploy_stage.rb +256 -0
  597. data/lib/oci/devops/models/oke_deploy_stage_execution_progress.rb +173 -0
  598. data/lib/oci/devops/models/oke_deploy_stage_summary.rb +256 -0
  599. data/lib/oci/devops/models/operation_status.rb +15 -0
  600. data/lib/oci/devops/models/operation_type.rb +28 -0
  601. data/lib/oci/devops/models/project.rb +330 -0
  602. data/lib/oci/devops/models/project_collection.rb +150 -0
  603. data/lib/oci/devops/models/project_summary.rb +292 -0
  604. data/lib/oci/devops/models/run_pipeline_deploy_stage_execution_progress.rb +173 -0
  605. data/lib/oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.rb +173 -0
  606. data/lib/oci/devops/models/single_deploy_stage_deployment.rb +230 -0
  607. data/lib/oci/devops/models/single_deploy_stage_deployment_summary.rb +218 -0
  608. data/lib/oci/devops/models/sort_order.rb +11 -0
  609. data/lib/oci/devops/models/update_compute_instance_group_deploy_environment_details.rb +177 -0
  610. data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +262 -0
  611. data/lib/oci/devops/models/update_deploy_artifact_details.rb +233 -0
  612. data/lib/oci/devops/models/update_deploy_environment_details.rb +224 -0
  613. data/lib/oci/devops/models/update_deploy_pipeline_deployment_details.rb +157 -0
  614. data/lib/oci/devops/models/update_deploy_pipeline_details.rb +205 -0
  615. data/lib/oci/devops/models/update_deploy_pipeline_redeployment_details.rb +157 -0
  616. data/lib/oci/devops/models/update_deploy_stage_details.rb +241 -0
  617. data/lib/oci/devops/models/update_deployment_details.rb +214 -0
  618. data/lib/oci/devops/models/update_function_deploy_environment_details.rb +178 -0
  619. data/lib/oci/devops/models/update_function_deploy_stage_details.rb +234 -0
  620. data/lib/oci/devops/models/update_invoke_function_deploy_stage_details.rb +224 -0
  621. data/lib/oci/devops/models/update_load_balancer_traffic_shift_deploy_stage_details.rb +247 -0
  622. data/lib/oci/devops/models/update_manual_approval_deploy_stage_details.rb +181 -0
  623. data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +178 -0
  624. data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +220 -0
  625. data/lib/oci/devops/models/update_project_details.rb +191 -0
  626. data/lib/oci/devops/models/update_single_deploy_stage_deployment_details.rb +157 -0
  627. data/lib/oci/devops/models/update_wait_deploy_stage_details.rb +181 -0
  628. data/lib/oci/devops/models/wait_criteria.rb +189 -0
  629. data/lib/oci/devops/models/wait_criteria_summary.rb +189 -0
  630. data/lib/oci/devops/models/wait_deploy_stage.rb +218 -0
  631. data/lib/oci/devops/models/wait_deploy_stage_execution_progress.rb +173 -0
  632. data/lib/oci/devops/models/wait_deploy_stage_summary.rb +218 -0
  633. data/lib/oci/devops/models/work_request.rb +314 -0
  634. data/lib/oci/devops/models/work_request_collection.rb +150 -0
  635. data/lib/oci/devops/models/work_request_error.rb +171 -0
  636. data/lib/oci/devops/models/work_request_error_collection.rb +150 -0
  637. data/lib/oci/devops/models/work_request_log_entry.rb +160 -0
  638. data/lib/oci/devops/models/work_request_log_entry_collection.rb +150 -0
  639. data/lib/oci/devops/models/work_request_resource.rb +216 -0
  640. data/lib/oci/devops/models/work_request_summary.rb +314 -0
  641. data/lib/oci/devops/util.rb +3 -0
  642. data/lib/oci/dns/dns.rb +1 -1
  643. data/lib/oci/dns/dns_client.rb +306 -75
  644. data/lib/oci/dns/models/create_resolver_endpoint_details.rb +2 -2
  645. data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +5 -5
  646. data/lib/oci/dns/models/external_master.rb +1 -12
  647. data/lib/oci/dns/models/resolver.rb +4 -4
  648. data/lib/oci/dns/models/resolver_endpoint.rb +2 -2
  649. data/lib/oci/dns/models/resolver_endpoint_summary.rb +2 -2
  650. data/lib/oci/dns/models/resolver_forward_rule.rb +2 -2
  651. data/lib/oci/dns/models/resolver_forward_rule_details.rb +2 -2
  652. data/lib/oci/dns/models/resolver_rule.rb +2 -2
  653. data/lib/oci/dns/models/resolver_rule_details.rb +2 -2
  654. data/lib/oci/dns/models/resolver_summary.rb +4 -4
  655. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
  656. data/lib/oci/dns/models/tsig_key.rb +4 -0
  657. data/lib/oci/dns/models/tsig_key_summary.rb +4 -0
  658. data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +2 -1
  659. data/lib/oci/dns/models/zone.rb +20 -4
  660. data/lib/oci/dns/models/zone_summary.rb +1 -0
  661. data/lib/oci/dns/models/zone_transfer_server.rb +192 -0
  662. data/lib/oci/email/email.rb +23 -0
  663. data/lib/oci/email/email_client.rb +1139 -139
  664. data/lib/oci/email/email_client_composite_operations.rb +346 -0
  665. data/lib/oci/email/models/action_type.rb +14 -0
  666. data/lib/oci/email/models/change_email_domain_compartment_details.rb +156 -0
  667. data/lib/oci/email/models/create_dkim_details.rb +225 -0
  668. data/lib/oci/email/models/create_email_domain_details.rb +220 -0
  669. data/lib/oci/email/models/create_sender_details.rb +2 -0
  670. data/lib/oci/email/models/dkim.rb +399 -0
  671. data/lib/oci/email/models/dkim_collection.rb +150 -0
  672. data/lib/oci/email/models/dkim_summary.rb +307 -0
  673. data/lib/oci/email/models/email_domain.rb +333 -0
  674. data/lib/oci/email/models/email_domain_collection.rb +150 -0
  675. data/lib/oci/email/models/email_domain_summary.rb +291 -0
  676. data/lib/oci/email/models/operation_status.rb +15 -0
  677. data/lib/oci/email/models/operation_type.rb +17 -0
  678. data/lib/oci/email/models/sender.rb +21 -4
  679. data/lib/oci/email/models/sender_summary.rb +5 -3
  680. data/lib/oci/email/models/sort_order.rb +11 -0
  681. data/lib/oci/email/models/suppression.rb +77 -7
  682. data/lib/oci/email/models/suppression_summary.rb +3 -3
  683. data/lib/oci/email/models/update_dkim_details.rb +189 -0
  684. data/lib/oci/email/models/update_email_domain_details.rb +189 -0
  685. data/lib/oci/email/models/update_sender_details.rb +2 -0
  686. data/lib/oci/email/models/work_request.rb +312 -0
  687. data/lib/oci/email/models/work_request_error.rb +172 -0
  688. data/lib/oci/email/models/work_request_error_collection.rb +150 -0
  689. data/lib/oci/email/models/work_request_log_entry.rb +160 -0
  690. data/lib/oci/email/models/work_request_log_entry_collection.rb +150 -0
  691. data/lib/oci/email/models/work_request_resource.rb +219 -0
  692. data/lib/oci/email/models/work_request_summary.rb +312 -0
  693. data/lib/oci/email/models/work_request_summary_collection.rb +150 -0
  694. data/lib/oci/generic_artifacts_content/generic_artifacts_content.rb +20 -0
  695. data/lib/oci/generic_artifacts_content/generic_artifacts_content_client.rb +410 -0
  696. data/lib/oci/generic_artifacts_content/generic_artifacts_content_client_composite_operations.rb +25 -0
  697. data/lib/oci/generic_artifacts_content/models/generic_artifact.rb +337 -0
  698. data/lib/oci/generic_artifacts_content/util.rb +3 -0
  699. data/lib/oci/jms/java_management_service_client.rb +1520 -0
  700. data/lib/oci/jms/java_management_service_client_composite_operations.rb +273 -0
  701. data/lib/oci/jms/jms.rb +63 -0
  702. data/lib/oci/jms/models/action_type.rb +14 -0
  703. data/lib/oci/jms/models/application_sort_by.rb +15 -0
  704. data/lib/oci/jms/models/application_usage.rb +292 -0
  705. data/lib/oci/jms/models/application_usage_collection.rb +150 -0
  706. data/lib/oci/jms/models/change_fleet_compartment_details.rb +154 -0
  707. data/lib/oci/jms/models/create_fleet_details.rb +210 -0
  708. data/lib/oci/jms/models/fleet.rb +358 -0
  709. data/lib/oci/jms/models/fleet_agent_configuration.rb +214 -0
  710. data/lib/oci/jms/models/fleet_agent_os_configuration.rb +171 -0
  711. data/lib/oci/jms/models/fleet_collection.rb +150 -0
  712. data/lib/oci/jms/models/fleet_summary.rb +359 -0
  713. data/lib/oci/jms/models/installation_sort_by.rb +17 -0
  714. data/lib/oci/jms/models/installation_usage.rb +306 -0
  715. data/lib/oci/jms/models/installation_usage_collection.rb +150 -0
  716. data/lib/oci/jms/models/jre_sort_by.rb +17 -0
  717. data/lib/oci/jms/models/jre_usage.rb +276 -0
  718. data/lib/oci/jms/models/jre_usage_collection.rb +150 -0
  719. data/lib/oci/jms/models/lifecycle_state.rb +15 -0
  720. data/lib/oci/jms/models/managed_instance_sort_by.rb +14 -0
  721. data/lib/oci/jms/models/managed_instance_type.rb +10 -0
  722. data/lib/oci/jms/models/managed_instance_usage.rb +308 -0
  723. data/lib/oci/jms/models/managed_instance_usage_collection.rb +150 -0
  724. data/lib/oci/jms/models/operation_status.rb +15 -0
  725. data/lib/oci/jms/models/operation_type.rb +13 -0
  726. data/lib/oci/jms/models/request_summarized_application_usage_details.rb +362 -0
  727. data/lib/oci/jms/models/request_summarized_installation_usage_details.rb +335 -0
  728. data/lib/oci/jms/models/request_summarized_jre_usage_details.rb +321 -0
  729. data/lib/oci/jms/models/request_summarized_managed_instance_usage_details.rb +358 -0
  730. data/lib/oci/jms/models/sort_by.rb +11 -0
  731. data/lib/oci/jms/models/sort_order.rb +11 -0
  732. data/lib/oci/jms/models/summarize_application_usage_fields.rb +12 -0
  733. data/lib/oci/jms/models/summarize_installation_usage_fields.rb +11 -0
  734. data/lib/oci/jms/models/summarize_jre_usage_fields.rb +12 -0
  735. data/lib/oci/jms/models/summarize_managed_instance_usage_fields.rb +12 -0
  736. data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +196 -0
  737. data/lib/oci/jms/models/update_fleet_details.rb +196 -0
  738. data/lib/oci/jms/models/work_request.rb +306 -0
  739. data/lib/oci/jms/models/work_request_collection.rb +150 -0
  740. data/lib/oci/jms/models/work_request_error.rb +173 -0
  741. data/lib/oci/jms/models/work_request_error_collection.rb +150 -0
  742. data/lib/oci/jms/models/work_request_log_entry.rb +160 -0
  743. data/lib/oci/jms/models/work_request_log_entry_collection.rb +150 -0
  744. data/lib/oci/jms/models/work_request_resource.rb +219 -0
  745. data/lib/oci/jms/util.rb +3 -0
  746. data/lib/oci/limits/limits_client.rb +12 -12
  747. data/lib/oci/limits/models/limit_definition_summary.rb +22 -7
  748. data/lib/oci/limits/models/quota.rb +6 -6
  749. data/lib/oci/limits/models/quota_summary.rb +3 -3
  750. data/lib/oci/limits/models/resource_availability.rb +7 -7
  751. data/lib/oci/limits/models/service_summary.rb +1 -1
  752. data/lib/oci/limits/quotas_client.rb +9 -9
  753. data/lib/oci/log_analytics/log_analytics.rb +1 -0
  754. data/lib/oci/log_analytics/log_analytics_client.rb +60 -0
  755. data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +2 -0
  756. data/lib/oci/log_analytics/models/compare_command_descriptor.rb +166 -0
  757. data/lib/oci/log_analytics/models/cron_schedule.rb +5 -1
  758. data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +5 -1
  759. data/lib/oci/log_analytics/models/namespace.rb +20 -4
  760. data/lib/oci/log_analytics/models/namespace_summary.rb +20 -4
  761. data/lib/oci/log_analytics/models/schedule.rb +20 -4
  762. data/lib/oci/log_analytics/models/scheduled_task.rb +54 -1
  763. data/lib/oci/log_analytics/models/scheduled_task_summary.rb +15 -1
  764. data/lib/oci/log_analytics/models/standard_task.rb +9 -1
  765. data/lib/oci/log_analytics/models/stream_action.rb +40 -4
  766. data/lib/oci/loggingingestion/logging_client.rb +1 -1
  767. data/lib/oci/loggingingestion/models/log_entry.rb +1 -1
  768. data/lib/oci/loggingingestion/models/log_entry_batch.rb +2 -2
  769. data/lib/oci/management_dashboard/dashx_apis_client.rb +16 -6
  770. data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +238 -0
  771. data/lib/oci/management_dashboard/management_dashboard.rb +1 -0
  772. data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +15 -1
  773. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -1
  774. data/lib/oci/management_dashboard/models/management_dashboard.rb +59 -2
  775. data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +4 -36
  776. data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +15 -1
  777. data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +12 -2
  778. data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +18 -4
  779. data/lib/oci/management_dashboard/models/management_saved_search.rb +47 -1
  780. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +18 -4
  781. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +15 -1
  782. data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +15 -1
  783. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -1
  784. data/lib/oci/marketplace/account_client.rb +220 -0
  785. data/lib/oci/marketplace/account_client_composite_operations.rb +25 -0
  786. data/lib/oci/marketplace/marketplace.rb +8 -0
  787. data/lib/oci/marketplace/marketplace_client.rb +86 -24
  788. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +4 -4
  789. data/lib/oci/marketplace/models/change_publication_compartment_details.rb +2 -2
  790. data/lib/oci/marketplace/models/create_image_publication_package.rb +2 -2
  791. data/lib/oci/marketplace/models/create_publication_details.rb +10 -8
  792. data/lib/oci/marketplace/models/create_publication_package.rb +4 -4
  793. data/lib/oci/marketplace/models/eula.rb +2 -2
  794. data/lib/oci/marketplace/models/free_text_search_details.rb +162 -0
  795. data/lib/oci/marketplace/models/image_publication_package.rb +3 -3
  796. data/lib/oci/marketplace/models/launch_eligibility.rb +178 -0
  797. data/lib/oci/marketplace/models/listing.rb +2 -2
  798. data/lib/oci/marketplace/models/listing_package_summary.rb +10 -1
  799. data/lib/oci/marketplace/models/listing_summary.rb +2 -2
  800. data/lib/oci/marketplace/models/matching_context_type_enum.rb +11 -0
  801. data/lib/oci/marketplace/models/operating_system.rb +2 -2
  802. data/lib/oci/marketplace/models/orchestration_publication_package.rb +3 -3
  803. data/lib/oci/marketplace/models/publication.rb +11 -11
  804. data/lib/oci/marketplace/models/publication_package.rb +3 -3
  805. data/lib/oci/marketplace/models/publication_package_summary.rb +1 -1
  806. data/lib/oci/marketplace/models/publication_summary.rb +9 -9
  807. data/lib/oci/marketplace/models/publisher_summary.rb +1 -1
  808. data/lib/oci/marketplace/models/search_details_type_enum.rb +11 -0
  809. data/lib/oci/marketplace/models/search_listings_details.rb +207 -0
  810. data/lib/oci/marketplace/models/structured_search_details.rb +162 -0
  811. data/lib/oci/marketplace/models/text_based_eula.rb +2 -2
  812. data/lib/oci/marketplace/models/third_party_paid_listing_eligibility.rb +210 -0
  813. data/lib/oci/marketplace/models/update_publication_details.rb +5 -5
  814. data/lib/oci/mysql/db_backups_client.rb +76 -0
  815. data/lib/oci/mysql/db_backups_client_composite_operations.rb +50 -0
  816. data/lib/oci/mysql/models/change_backup_compartment_details.rb +154 -0
  817. data/lib/oci/mysql/mysql.rb +1 -0
  818. data/lib/oci/oce/models/create_oce_instance_details.rb +3 -1
  819. data/lib/oci/oce/models/license_type.rb +3 -1
  820. data/lib/oci/oce/models/oce_instance.rb +19 -1
  821. data/lib/oci/oce/models/oce_instance_summary.rb +22 -4
  822. data/lib/oci/oce/models/update_oce_instance_details.rb +3 -1
  823. data/lib/oci/oce/oce_instance_client.rb +2 -0
  824. data/lib/oci/ocvp/models/create_esxi_host_details.rb +3 -1
  825. data/lib/oci/ocvp/models/create_sddc_details.rb +21 -2
  826. data/lib/oci/ocvp/models/downgrade_hcx_details.rb +154 -0
  827. data/lib/oci/ocvp/models/esxi_host.rb +2 -0
  828. data/lib/oci/ocvp/models/esxi_host_summary.rb +2 -0
  829. data/lib/oci/ocvp/models/hcx_license_status.rb +13 -0
  830. data/lib/oci/ocvp/models/hcx_license_summary.rb +201 -0
  831. data/lib/oci/ocvp/models/operation_types.rb +5 -1
  832. data/lib/oci/ocvp/models/sddc.rb +86 -2
  833. data/lib/oci/ocvp/models/supported_sku_summary.rb +2 -1
  834. data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +3 -1
  835. data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
  836. data/lib/oci/ocvp/models/work_request.rb +4 -0
  837. data/lib/oci/ocvp/ocvp.rb +3 -0
  838. data/lib/oci/ocvp/sddc_client.rb +291 -2
  839. data/lib/oci/ocvp/sddc_client_composite_operations.rb +201 -0
  840. data/lib/oci/opsi/models/autonomous_database_configuration_summary.rb +198 -0
  841. data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +2 -2
  842. data/lib/oci/opsi/models/create_host_insight_details.rb +1 -1
  843. data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +1 -1
  844. data/lib/oci/opsi/models/database_configuration_collection.rb +150 -0
  845. data/lib/oci/opsi/models/database_configuration_summary.rb +323 -0
  846. data/lib/oci/opsi/models/database_details.rb +1 -0
  847. data/lib/oci/opsi/models/database_insight.rb +1 -0
  848. data/lib/oci/opsi/models/database_insight_summary.rb +1 -0
  849. data/lib/oci/opsi/models/em_managed_external_database_configuration_summary.rb +222 -0
  850. data/lib/oci/opsi/models/enable_host_insight_details.rb +1 -1
  851. data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +1 -1
  852. data/lib/oci/opsi/models/enterprise_manager_bridge.rb +16 -1
  853. data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +16 -1
  854. data/lib/oci/opsi/models/host_insight.rb +1 -0
  855. data/lib/oci/opsi/models/host_insight_summary.rb +1 -0
  856. data/lib/oci/opsi/models/lifecycle_state.rb +2 -1
  857. data/lib/oci/opsi/models/macs_managed_external_database_configuration_summary.rb +236 -0
  858. data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +1 -1
  859. data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +1 -1
  860. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +15 -1
  861. data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +1 -1
  862. data/lib/oci/opsi/operations_insights_client.rb +631 -25
  863. data/lib/oci/opsi/opsi.rb +5 -0
  864. data/lib/oci/regions.rb +3 -0
  865. data/lib/oci/secrets/secrets_client.rb +71 -1
  866. data/lib/oci/tenant_manager_control_plane/models/activate_order_details.rb +154 -0
  867. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +5 -1
  868. data/lib/oci/tenant_manager_control_plane/models/order.rb +206 -0
  869. data/lib/oci/{dns/models/tsig.rb → tenant_manager_control_plane/models/sku.rb} +22 -25
  870. data/lib/oci/tenant_manager_control_plane/models/subscription_info.rb +202 -0
  871. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +4 -0
  872. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +4 -0
  873. data/lib/oci/tenant_manager_control_plane/orders_client.rb +225 -0
  874. data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +76 -0
  875. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +6 -0
  876. data/lib/oci/usage_api/models/cost_analysis_ui.rb +2 -2
  877. data/lib/oci/usage_api/models/create_custom_table_details.rb +10 -10
  878. data/lib/oci/usage_api/models/create_query_details.rb +1 -1
  879. data/lib/oci/usage_api/models/custom_table.rb +13 -13
  880. data/lib/oci/usage_api/models/custom_table_summary.rb +1 -1
  881. data/lib/oci/usage_api/models/dimension.rb +1 -1
  882. data/lib/oci/usage_api/models/forecast.rb +3 -3
  883. data/lib/oci/usage_api/models/query_definition.rb +1 -1
  884. data/lib/oci/usage_api/models/query_summary.rb +1 -1
  885. data/lib/oci/usage_api/models/report_query.rb +11 -5
  886. data/lib/oci/usage_api/models/request_summarized_usages_details.rb +11 -5
  887. data/lib/oci/usage_api/models/saved_custom_table.rb +6 -6
  888. data/lib/oci/usage_api/models/update_custom_table_details.rb +1 -1
  889. data/lib/oci/usage_api/models/update_query_details.rb +1 -1
  890. data/lib/oci/usage_api/models/usage_summary.rb +1 -1
  891. data/lib/oci/usage_api/usage_api.rb +0 -6
  892. data/lib/oci/usage_api/usageapi_client.rb +332 -1
  893. data/lib/oci/version.rb +1 -1
  894. metadata +512 -16
@@ -11,14 +11,37 @@ module OCI
11
11
  end
12
12
 
13
13
  # Require models
14
+ require 'oci/email/models/action_type'
15
+ require 'oci/email/models/change_email_domain_compartment_details'
14
16
  require 'oci/email/models/change_sender_compartment_details'
17
+ require 'oci/email/models/create_dkim_details'
18
+ require 'oci/email/models/create_email_domain_details'
15
19
  require 'oci/email/models/create_sender_details'
16
20
  require 'oci/email/models/create_suppression_details'
21
+ require 'oci/email/models/dkim'
22
+ require 'oci/email/models/dkim_collection'
23
+ require 'oci/email/models/dkim_summary'
24
+ require 'oci/email/models/email_domain'
25
+ require 'oci/email/models/email_domain_collection'
26
+ require 'oci/email/models/email_domain_summary'
27
+ require 'oci/email/models/operation_status'
28
+ require 'oci/email/models/operation_type'
17
29
  require 'oci/email/models/sender'
18
30
  require 'oci/email/models/sender_summary'
31
+ require 'oci/email/models/sort_order'
19
32
  require 'oci/email/models/suppression'
20
33
  require 'oci/email/models/suppression_summary'
34
+ require 'oci/email/models/update_dkim_details'
35
+ require 'oci/email/models/update_email_domain_details'
21
36
  require 'oci/email/models/update_sender_details'
37
+ require 'oci/email/models/work_request'
38
+ require 'oci/email/models/work_request_error'
39
+ require 'oci/email/models/work_request_error_collection'
40
+ require 'oci/email/models/work_request_log_entry'
41
+ require 'oci/email/models/work_request_log_entry_collection'
42
+ require 'oci/email/models/work_request_resource'
43
+ require 'oci/email/models/work_request_summary'
44
+ require 'oci/email/models/work_request_summary_collection'
22
45
 
23
46
  # Require generated clients
24
47
  require 'oci/email/email_client'
@@ -10,7 +10,8 @@ module OCI
10
10
  # emails. For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
11
11
  #
12
12
  #
13
- # **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
13
+ # **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
14
+ # If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
14
15
  class Email::EmailClient
15
16
  # Client used to make HTTP requests.
16
17
  # @return [OCI::ApiClient]
@@ -88,7 +89,7 @@ module OCI
88
89
 
89
90
  raise 'A region must be specified.' unless @region
90
91
 
91
- @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://email.{region}.{secondLevelDomain}') + '/20170907'
92
+ @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://ctrl.email.{region}.oci.{secondLevelDomain}') + '/20170907'
92
93
  logger.info "EmailClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
93
94
  end
94
95
 
@@ -102,6 +103,80 @@ module OCI
102
103
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
103
104
 
104
105
 
106
+ # Moves a email domain into a different compartment.
107
+ # When provided, If-Match is checked against ETag value of the resource.
108
+ # For information about moving resources between compartments, see
109
+ # [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
110
+ #
111
+ # **Note:** All Dkim objects associated with this email domain will also be moved into the provided compartment.
112
+ #
113
+ # @param [String] email_domain_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
114
+ # @param [OCI::Email::Models::ChangeEmailDomainCompartmentDetails] change_email_domain_compartment_details The configuration details for the move operation.
115
+ # @param [Hash] opts the optional parameters
116
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
117
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
118
+ # @option opts [String] :if_match Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
119
+ # parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
120
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
121
+ #
122
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
123
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
124
+ # server error without risk of executing that same action again. Retry tokens expire after 24
125
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
126
+ # has been deleted and purged from the system, then a retry of the original creation request
127
+ # might be rejected.
128
+ #
129
+ # @return [Response] A Response object with data of type nil
130
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/change_email_domain_compartment.rb.html) to see an example of how to use change_email_domain_compartment API.
131
+ def change_email_domain_compartment(email_domain_id, change_email_domain_compartment_details, opts = {})
132
+ logger.debug 'Calling operation EmailClient#change_email_domain_compartment.' if logger
133
+
134
+ raise "Missing the required parameter 'email_domain_id' when calling change_email_domain_compartment." if email_domain_id.nil?
135
+ raise "Missing the required parameter 'change_email_domain_compartment_details' when calling change_email_domain_compartment." if change_email_domain_compartment_details.nil?
136
+ raise "Parameter value for 'email_domain_id' must not be blank" if OCI::Internal::Util.blank_string?(email_domain_id)
137
+
138
+ path = '/emailDomains/{emailDomainId}/actions/changeCompartment'.sub('{emailDomainId}', email_domain_id.to_s)
139
+ operation_signing_strategy = :standard
140
+
141
+ # rubocop:disable Style/NegatedIf
142
+ # Query Params
143
+ query_params = {}
144
+
145
+ # Header Params
146
+ header_params = {}
147
+ header_params[:accept] = 'application/json'
148
+ header_params[:'content-type'] = 'application/json'
149
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
150
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
151
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
152
+ # rubocop:enable Style/NegatedIf
153
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
154
+
155
+ post_body = @api_client.object_to_http_body(change_email_domain_compartment_details)
156
+
157
+ # rubocop:disable Metrics/BlockLength
158
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#change_email_domain_compartment') do
159
+ @api_client.call_api(
160
+ :POST,
161
+ path,
162
+ endpoint,
163
+ header_params: header_params,
164
+ query_params: query_params,
165
+ operation_signing_strategy: operation_signing_strategy,
166
+ body: post_body
167
+ )
168
+ end
169
+ # rubocop:enable Metrics/BlockLength
170
+ end
171
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
172
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
173
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
174
+
175
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
176
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
177
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
178
+
179
+
105
180
  # Moves a sender into a different compartment. When provided, If-Match is checked against ETag values of the resource.
106
181
  # @param [String] sender_id The unique OCID of the sender.
107
182
  # @param [OCI::Email::Models::ChangeSenderCompartmentDetails] change_sender_compartment_details Details for moving a sender into a different compartment.
@@ -162,6 +237,133 @@ module OCI
162
237
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
163
238
 
164
239
 
240
+ # Creates a new DKIM for a email domain.
241
+ # This DKIM will sign all approved senders in the tenancy that are in this email domain.
242
+ # Best security practices indicate to periodically rotate the DKIM that is doing the signing.
243
+ # When a second DKIM is applied, all senders will seamlessly pick up the new key
244
+ # without interruption in signing.
245
+ #
246
+ # @param [OCI::Email::Models::CreateDkimDetails] create_dkim_details The DKIM details.
247
+ # @param [Hash] opts the optional parameters
248
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
249
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
250
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
251
+ # server error without risk of executing that same action again. Retry tokens expire after 24
252
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
253
+ # has been deleted and purged from the system, then a retry of the original creation request
254
+ # might be rejected.
255
+ #
256
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
257
+ # @return [Response] A Response object with data of type {OCI::Email::Models::Dkim Dkim}
258
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/create_dkim.rb.html) to see an example of how to use create_dkim API.
259
+ def create_dkim(create_dkim_details, opts = {})
260
+ logger.debug 'Calling operation EmailClient#create_dkim.' if logger
261
+
262
+ raise "Missing the required parameter 'create_dkim_details' when calling create_dkim." if create_dkim_details.nil?
263
+
264
+ path = '/dkims'
265
+ operation_signing_strategy = :standard
266
+
267
+ # rubocop:disable Style/NegatedIf
268
+ # Query Params
269
+ query_params = {}
270
+
271
+ # Header Params
272
+ header_params = {}
273
+ header_params[:accept] = 'application/json'
274
+ header_params[:'content-type'] = 'application/json'
275
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
276
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
277
+ # rubocop:enable Style/NegatedIf
278
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
279
+
280
+ post_body = @api_client.object_to_http_body(create_dkim_details)
281
+
282
+ # rubocop:disable Metrics/BlockLength
283
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#create_dkim') do
284
+ @api_client.call_api(
285
+ :POST,
286
+ path,
287
+ endpoint,
288
+ header_params: header_params,
289
+ query_params: query_params,
290
+ operation_signing_strategy: operation_signing_strategy,
291
+ body: post_body,
292
+ return_type: 'OCI::Email::Models::Dkim'
293
+ )
294
+ end
295
+ # rubocop:enable Metrics/BlockLength
296
+ end
297
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
298
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
299
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
300
+
301
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
302
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
303
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
304
+
305
+
306
+ # Creates a new email domain. Avoid entering confidential information.
307
+ # @param [OCI::Email::Models::CreateEmailDomainDetails] create_email_domain_details The email domain to create.
308
+ # @param [Hash] opts the optional parameters
309
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
310
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
311
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
312
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
313
+ # server error without risk of executing that same action again. Retry tokens expire after 24
314
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
315
+ # has been deleted and purged from the system, then a retry of the original creation request
316
+ # might be rejected.
317
+ #
318
+ # @return [Response] A Response object with data of type {OCI::Email::Models::EmailDomain EmailDomain}
319
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/create_email_domain.rb.html) to see an example of how to use create_email_domain API.
320
+ def create_email_domain(create_email_domain_details, opts = {})
321
+ logger.debug 'Calling operation EmailClient#create_email_domain.' if logger
322
+
323
+ raise "Missing the required parameter 'create_email_domain_details' when calling create_email_domain." if create_email_domain_details.nil?
324
+
325
+ path = '/emailDomains'
326
+ operation_signing_strategy = :standard
327
+
328
+ # rubocop:disable Style/NegatedIf
329
+ # Query Params
330
+ query_params = {}
331
+
332
+ # Header Params
333
+ header_params = {}
334
+ header_params[:accept] = 'application/json'
335
+ header_params[:'content-type'] = 'application/json'
336
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
337
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
338
+ # rubocop:enable Style/NegatedIf
339
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
340
+
341
+ post_body = @api_client.object_to_http_body(create_email_domain_details)
342
+
343
+ # rubocop:disable Metrics/BlockLength
344
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#create_email_domain') do
345
+ @api_client.call_api(
346
+ :POST,
347
+ path,
348
+ endpoint,
349
+ header_params: header_params,
350
+ query_params: query_params,
351
+ operation_signing_strategy: operation_signing_strategy,
352
+ body: post_body,
353
+ return_type: 'OCI::Email::Models::EmailDomain'
354
+ )
355
+ end
356
+ # rubocop:enable Metrics/BlockLength
357
+ end
358
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
359
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
360
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
361
+
362
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
363
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
364
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
365
+
366
+
165
367
  # Creates a sender for a tenancy in a given compartment.
166
368
  # @param [OCI::Email::Models::CreateSenderDetails] create_sender_details Create a sender.
167
369
  # @param [Hash] opts the optional parameters
@@ -273,10 +475,14 @@ module OCI
273
475
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
274
476
 
275
477
 
276
- # Deletes an approved sender for a tenancy in a given compartment for a
277
- # provided `senderId`.
478
+ # Deletes a DKIM.
479
+ # If this key is currently the active key for the email domain, deleting the key
480
+ # will stop signing the domain's outgoing mail.
481
+ # DKIM keys are left in DELETING state for about a day to allow DKIM signatures on
482
+ # in-transit mail to be validated.
483
+ # Consider instead of deletion creating a new DKIM for this domain so the signing can be rotated to it.
278
484
  #
279
- # @param [String] sender_id The unique OCID of the sender.
485
+ # @param [String] dkim_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM.
280
486
  # @param [Hash] opts the optional parameters
281
487
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
282
488
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -286,14 +492,14 @@ module OCI
286
492
  #
287
493
  # @option opts [String] :opc_request_id The request ID for tracing from the system
288
494
  # @return [Response] A Response object with data of type nil
289
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/delete_sender.rb.html) to see an example of how to use delete_sender API.
290
- def delete_sender(sender_id, opts = {})
291
- logger.debug 'Calling operation EmailClient#delete_sender.' if logger
495
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/delete_dkim.rb.html) to see an example of how to use delete_dkim API.
496
+ def delete_dkim(dkim_id, opts = {})
497
+ logger.debug 'Calling operation EmailClient#delete_dkim.' if logger
292
498
 
293
- raise "Missing the required parameter 'sender_id' when calling delete_sender." if sender_id.nil?
294
- raise "Parameter value for 'sender_id' must not be blank" if OCI::Internal::Util.blank_string?(sender_id)
499
+ raise "Missing the required parameter 'dkim_id' when calling delete_dkim." if dkim_id.nil?
500
+ raise "Parameter value for 'dkim_id' must not be blank" if OCI::Internal::Util.blank_string?(dkim_id)
295
501
 
296
- path = '/senders/{senderId}'.sub('{senderId}', sender_id.to_s)
502
+ path = '/dkims/{dkimId}'.sub('{dkimId}', dkim_id.to_s)
297
503
  operation_signing_strategy = :standard
298
504
 
299
505
  # rubocop:disable Style/NegatedIf
@@ -311,7 +517,7 @@ module OCI
311
517
  post_body = nil
312
518
 
313
519
  # rubocop:disable Metrics/BlockLength
314
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#delete_sender') do
520
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#delete_dkim') do
315
521
  @api_client.call_api(
316
522
  :DELETE,
317
523
  path,
@@ -333,23 +539,25 @@ module OCI
333
539
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
334
540
 
335
541
 
336
- # Removes a suppressed recipient email address from the suppression list
337
- # for a tenancy in a given compartment for a provided `suppressionId`.
338
- #
339
- # @param [String] suppression_id The unique OCID of the suppression.
542
+ # Deletes a email domain.
543
+ # @param [String] email_domain_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
340
544
  # @param [Hash] opts the optional parameters
341
545
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
342
546
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
547
+ # @option opts [String] :if_match Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
548
+ # parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
549
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
550
+ #
343
551
  # @option opts [String] :opc_request_id The request ID for tracing from the system
344
552
  # @return [Response] A Response object with data of type nil
345
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/delete_suppression.rb.html) to see an example of how to use delete_suppression API.
346
- def delete_suppression(suppression_id, opts = {})
347
- logger.debug 'Calling operation EmailClient#delete_suppression.' if logger
553
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/delete_email_domain.rb.html) to see an example of how to use delete_email_domain API.
554
+ def delete_email_domain(email_domain_id, opts = {})
555
+ logger.debug 'Calling operation EmailClient#delete_email_domain.' if logger
348
556
 
349
- raise "Missing the required parameter 'suppression_id' when calling delete_suppression." if suppression_id.nil?
350
- raise "Parameter value for 'suppression_id' must not be blank" if OCI::Internal::Util.blank_string?(suppression_id)
557
+ raise "Missing the required parameter 'email_domain_id' when calling delete_email_domain." if email_domain_id.nil?
558
+ raise "Parameter value for 'email_domain_id' must not be blank" if OCI::Internal::Util.blank_string?(email_domain_id)
351
559
 
352
- path = '/suppressions/{suppressionId}'.sub('{suppressionId}', suppression_id.to_s)
560
+ path = '/emailDomains/{emailDomainId}'.sub('{emailDomainId}', email_domain_id.to_s)
353
561
  operation_signing_strategy = :standard
354
562
 
355
563
  # rubocop:disable Style/NegatedIf
@@ -360,13 +568,14 @@ module OCI
360
568
  header_params = {}
361
569
  header_params[:accept] = 'application/json'
362
570
  header_params[:'content-type'] = 'application/json'
571
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
363
572
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
364
573
  # rubocop:enable Style/NegatedIf
365
574
 
366
575
  post_body = nil
367
576
 
368
577
  # rubocop:disable Metrics/BlockLength
369
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#delete_suppression') do
578
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#delete_email_domain') do
370
579
  @api_client.call_api(
371
580
  :DELETE,
372
581
  path,
@@ -388,18 +597,24 @@ module OCI
388
597
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
389
598
 
390
599
 
391
- # Gets an approved sender for a given `senderId`.
600
+ # Deletes an approved sender for a tenancy in a given compartment for a
601
+ # provided `senderId`.
602
+ #
392
603
  # @param [String] sender_id The unique OCID of the sender.
393
604
  # @param [Hash] opts the optional parameters
394
605
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
395
606
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
607
+ # @option opts [String] :if_match Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
608
+ # parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
609
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
610
+ #
396
611
  # @option opts [String] :opc_request_id The request ID for tracing from the system
397
- # @return [Response] A Response object with data of type {OCI::Email::Models::Sender Sender}
398
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_sender.rb.html) to see an example of how to use get_sender API.
399
- def get_sender(sender_id, opts = {})
400
- logger.debug 'Calling operation EmailClient#get_sender.' if logger
612
+ # @return [Response] A Response object with data of type nil
613
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/delete_sender.rb.html) to see an example of how to use delete_sender API.
614
+ def delete_sender(sender_id, opts = {})
615
+ logger.debug 'Calling operation EmailClient#delete_sender.' if logger
401
616
 
402
- raise "Missing the required parameter 'sender_id' when calling get_sender." if sender_id.nil?
617
+ raise "Missing the required parameter 'sender_id' when calling delete_sender." if sender_id.nil?
403
618
  raise "Parameter value for 'sender_id' must not be blank" if OCI::Internal::Util.blank_string?(sender_id)
404
619
 
405
620
  path = '/senders/{senderId}'.sub('{senderId}', sender_id.to_s)
@@ -413,22 +628,22 @@ module OCI
413
628
  header_params = {}
414
629
  header_params[:accept] = 'application/json'
415
630
  header_params[:'content-type'] = 'application/json'
631
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
416
632
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
417
633
  # rubocop:enable Style/NegatedIf
418
634
 
419
635
  post_body = nil
420
636
 
421
637
  # rubocop:disable Metrics/BlockLength
422
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_sender') do
638
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#delete_sender') do
423
639
  @api_client.call_api(
424
- :GET,
640
+ :DELETE,
425
641
  path,
426
642
  endpoint,
427
643
  header_params: header_params,
428
644
  query_params: query_params,
429
645
  operation_signing_strategy: operation_signing_strategy,
430
- body: post_body,
431
- return_type: 'OCI::Email::Models::Sender'
646
+ body: post_body
432
647
  )
433
648
  end
434
649
  # rubocop:enable Metrics/BlockLength
@@ -442,20 +657,20 @@ module OCI
442
657
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
443
658
 
444
659
 
445
- # Gets the details of a suppressed recipient email address for a given
446
- # `suppressionId`. Each suppression is given a unique OCID.
660
+ # Removes a suppressed recipient email address from the suppression list
661
+ # for a tenancy in a given compartment for a provided `suppressionId`.
447
662
  #
448
663
  # @param [String] suppression_id The unique OCID of the suppression.
449
664
  # @param [Hash] opts the optional parameters
450
665
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
451
666
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
452
667
  # @option opts [String] :opc_request_id The request ID for tracing from the system
453
- # @return [Response] A Response object with data of type {OCI::Email::Models::Suppression Suppression}
454
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_suppression.rb.html) to see an example of how to use get_suppression API.
455
- def get_suppression(suppression_id, opts = {})
456
- logger.debug 'Calling operation EmailClient#get_suppression.' if logger
668
+ # @return [Response] A Response object with data of type nil
669
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/delete_suppression.rb.html) to see an example of how to use delete_suppression API.
670
+ def delete_suppression(suppression_id, opts = {})
671
+ logger.debug 'Calling operation EmailClient#delete_suppression.' if logger
457
672
 
458
- raise "Missing the required parameter 'suppression_id' when calling get_suppression." if suppression_id.nil?
673
+ raise "Missing the required parameter 'suppression_id' when calling delete_suppression." if suppression_id.nil?
459
674
  raise "Parameter value for 'suppression_id' must not be blank" if OCI::Internal::Util.blank_string?(suppression_id)
460
675
 
461
676
  path = '/suppressions/{suppressionId}'.sub('{suppressionId}', suppression_id.to_s)
@@ -475,16 +690,15 @@ module OCI
475
690
  post_body = nil
476
691
 
477
692
  # rubocop:disable Metrics/BlockLength
478
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_suppression') do
693
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#delete_suppression') do
479
694
  @api_client.call_api(
480
- :GET,
695
+ :DELETE,
481
696
  path,
482
697
  endpoint,
483
698
  header_params: header_params,
484
699
  query_params: query_params,
485
700
  operation_signing_strategy: operation_signing_strategy,
486
- body: post_body,
487
- return_type: 'OCI::Email::Models::Suppression'
701
+ body: post_body
488
702
  )
489
703
  end
490
704
  # rubocop:enable Metrics/BlockLength
@@ -498,64 +712,26 @@ module OCI
498
712
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
499
713
 
500
714
 
501
- # Gets a collection of approved sender email addresses and sender IDs.
502
- #
503
- # @param [String] compartment_id The OCID for the compartment.
715
+ # Retrieves the specified DKIM.
716
+ # @param [String] dkim_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM.
504
717
  # @param [Hash] opts the optional parameters
505
718
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
506
719
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
507
720
  # @option opts [String] :opc_request_id The request ID for tracing from the system
508
- # @option opts [String] :lifecycle_state The current state of a sender.
509
- # @option opts [String] :email_address The email address of the approved sender.
510
- # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
511
- # For important details about how pagination works,
512
- # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
513
- #
514
- # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
515
- # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
516
- # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
517
- #
518
- # @option opts [String] :sort_by The field to sort by. The `TIMECREATED` value returns the list in in
519
- # descending order by default. The `EMAILADDRESS` value returns the list in
520
- # ascending order by default. Use the `SortOrderQueryParam` to change the
521
- # direction of the returned list of items.
522
- #
523
- # Allowed values are: TIMECREATED, EMAILADDRESS
524
- # @option opts [String] :sort_order The sort order to use, either ascending or descending order.
525
- #
526
- # Allowed values are: ASC, DESC
527
- # @return [Response] A Response object with data of type Array<{OCI::Email::Models::SenderSummary SenderSummary}>
528
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_senders.rb.html) to see an example of how to use list_senders API.
529
- def list_senders(compartment_id, opts = {})
530
- logger.debug 'Calling operation EmailClient#list_senders.' if logger
531
-
532
- raise "Missing the required parameter 'compartment_id' when calling list_senders." if compartment_id.nil?
533
-
534
- if opts[:lifecycle_state] && !OCI::Email::Models::Sender::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
535
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Email::Models::Sender::LIFECYCLE_STATE_ENUM.'
536
- end
537
-
538
- if opts[:sort_by] && !%w[TIMECREATED EMAILADDRESS].include?(opts[:sort_by])
539
- raise 'Invalid value for "sort_by", must be one of TIMECREATED, EMAILADDRESS.'
540
- end
721
+ # @return [Response] A Response object with data of type {OCI::Email::Models::Dkim Dkim}
722
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_dkim.rb.html) to see an example of how to use get_dkim API.
723
+ def get_dkim(dkim_id, opts = {})
724
+ logger.debug 'Calling operation EmailClient#get_dkim.' if logger
541
725
 
542
- if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
543
- raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
544
- end
726
+ raise "Missing the required parameter 'dkim_id' when calling get_dkim." if dkim_id.nil?
727
+ raise "Parameter value for 'dkim_id' must not be blank" if OCI::Internal::Util.blank_string?(dkim_id)
545
728
 
546
- path = '/senders'
729
+ path = '/dkims/{dkimId}'.sub('{dkimId}', dkim_id.to_s)
547
730
  operation_signing_strategy = :standard
548
731
 
549
732
  # rubocop:disable Style/NegatedIf
550
733
  # Query Params
551
734
  query_params = {}
552
- query_params[:compartmentId] = compartment_id
553
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
554
- query_params[:emailAddress] = opts[:email_address] if opts[:email_address]
555
- query_params[:page] = opts[:page] if opts[:page]
556
- query_params[:limit] = opts[:limit] if opts[:limit]
557
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
558
- query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
559
735
 
560
736
  # Header Params
561
737
  header_params = {}
@@ -567,7 +743,515 @@ module OCI
567
743
  post_body = nil
568
744
 
569
745
  # rubocop:disable Metrics/BlockLength
570
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_senders') do
746
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_dkim') do
747
+ @api_client.call_api(
748
+ :GET,
749
+ path,
750
+ endpoint,
751
+ header_params: header_params,
752
+ query_params: query_params,
753
+ operation_signing_strategy: operation_signing_strategy,
754
+ body: post_body,
755
+ return_type: 'OCI::Email::Models::Dkim'
756
+ )
757
+ end
758
+ # rubocop:enable Metrics/BlockLength
759
+ end
760
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
761
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
762
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
763
+
764
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
765
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
766
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
767
+
768
+
769
+ # Retrieves the specified email domain.
770
+ # @param [String] email_domain_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
771
+ # @param [Hash] opts the optional parameters
772
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
773
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
774
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
775
+ # @return [Response] A Response object with data of type {OCI::Email::Models::EmailDomain EmailDomain}
776
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_email_domain.rb.html) to see an example of how to use get_email_domain API.
777
+ def get_email_domain(email_domain_id, opts = {})
778
+ logger.debug 'Calling operation EmailClient#get_email_domain.' if logger
779
+
780
+ raise "Missing the required parameter 'email_domain_id' when calling get_email_domain." if email_domain_id.nil?
781
+ raise "Parameter value for 'email_domain_id' must not be blank" if OCI::Internal::Util.blank_string?(email_domain_id)
782
+
783
+ path = '/emailDomains/{emailDomainId}'.sub('{emailDomainId}', email_domain_id.to_s)
784
+ operation_signing_strategy = :standard
785
+
786
+ # rubocop:disable Style/NegatedIf
787
+ # Query Params
788
+ query_params = {}
789
+
790
+ # Header Params
791
+ header_params = {}
792
+ header_params[:accept] = 'application/json'
793
+ header_params[:'content-type'] = 'application/json'
794
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
795
+ # rubocop:enable Style/NegatedIf
796
+
797
+ post_body = nil
798
+
799
+ # rubocop:disable Metrics/BlockLength
800
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_email_domain') do
801
+ @api_client.call_api(
802
+ :GET,
803
+ path,
804
+ endpoint,
805
+ header_params: header_params,
806
+ query_params: query_params,
807
+ operation_signing_strategy: operation_signing_strategy,
808
+ body: post_body,
809
+ return_type: 'OCI::Email::Models::EmailDomain'
810
+ )
811
+ end
812
+ # rubocop:enable Metrics/BlockLength
813
+ end
814
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
815
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
816
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
817
+
818
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
819
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
820
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
821
+
822
+
823
+ # Gets an approved sender for a given `senderId`.
824
+ # @param [String] sender_id The unique OCID of the sender.
825
+ # @param [Hash] opts the optional parameters
826
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
827
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
828
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
829
+ # @return [Response] A Response object with data of type {OCI::Email::Models::Sender Sender}
830
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_sender.rb.html) to see an example of how to use get_sender API.
831
+ def get_sender(sender_id, opts = {})
832
+ logger.debug 'Calling operation EmailClient#get_sender.' if logger
833
+
834
+ raise "Missing the required parameter 'sender_id' when calling get_sender." if sender_id.nil?
835
+ raise "Parameter value for 'sender_id' must not be blank" if OCI::Internal::Util.blank_string?(sender_id)
836
+
837
+ path = '/senders/{senderId}'.sub('{senderId}', sender_id.to_s)
838
+ operation_signing_strategy = :standard
839
+
840
+ # rubocop:disable Style/NegatedIf
841
+ # Query Params
842
+ query_params = {}
843
+
844
+ # Header Params
845
+ header_params = {}
846
+ header_params[:accept] = 'application/json'
847
+ header_params[:'content-type'] = 'application/json'
848
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
849
+ # rubocop:enable Style/NegatedIf
850
+
851
+ post_body = nil
852
+
853
+ # rubocop:disable Metrics/BlockLength
854
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_sender') do
855
+ @api_client.call_api(
856
+ :GET,
857
+ path,
858
+ endpoint,
859
+ header_params: header_params,
860
+ query_params: query_params,
861
+ operation_signing_strategy: operation_signing_strategy,
862
+ body: post_body,
863
+ return_type: 'OCI::Email::Models::Sender'
864
+ )
865
+ end
866
+ # rubocop:enable Metrics/BlockLength
867
+ end
868
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
869
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
870
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
871
+
872
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
873
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
874
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
875
+
876
+
877
+ # Gets the details of a suppressed recipient email address for a given
878
+ # `suppressionId`. Each suppression is given a unique OCID.
879
+ #
880
+ # @param [String] suppression_id The unique OCID of the suppression.
881
+ # @param [Hash] opts the optional parameters
882
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
883
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
884
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
885
+ # @return [Response] A Response object with data of type {OCI::Email::Models::Suppression Suppression}
886
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_suppression.rb.html) to see an example of how to use get_suppression API.
887
+ def get_suppression(suppression_id, opts = {})
888
+ logger.debug 'Calling operation EmailClient#get_suppression.' if logger
889
+
890
+ raise "Missing the required parameter 'suppression_id' when calling get_suppression." if suppression_id.nil?
891
+ raise "Parameter value for 'suppression_id' must not be blank" if OCI::Internal::Util.blank_string?(suppression_id)
892
+
893
+ path = '/suppressions/{suppressionId}'.sub('{suppressionId}', suppression_id.to_s)
894
+ operation_signing_strategy = :standard
895
+
896
+ # rubocop:disable Style/NegatedIf
897
+ # Query Params
898
+ query_params = {}
899
+
900
+ # Header Params
901
+ header_params = {}
902
+ header_params[:accept] = 'application/json'
903
+ header_params[:'content-type'] = 'application/json'
904
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
905
+ # rubocop:enable Style/NegatedIf
906
+
907
+ post_body = nil
908
+
909
+ # rubocop:disable Metrics/BlockLength
910
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_suppression') do
911
+ @api_client.call_api(
912
+ :GET,
913
+ path,
914
+ endpoint,
915
+ header_params: header_params,
916
+ query_params: query_params,
917
+ operation_signing_strategy: operation_signing_strategy,
918
+ body: post_body,
919
+ return_type: 'OCI::Email::Models::Suppression'
920
+ )
921
+ end
922
+ # rubocop:enable Metrics/BlockLength
923
+ end
924
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
925
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
926
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
927
+
928
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
929
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
930
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
931
+
932
+
933
+ # Gets the status of the work request with the given ID.
934
+ # @param [String] work_request_id The ID of the asynchronous request.
935
+ # @param [Hash] opts the optional parameters
936
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
937
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
938
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
939
+ # @return [Response] A Response object with data of type {OCI::Email::Models::WorkRequest WorkRequest}
940
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/get_work_request.rb.html) to see an example of how to use get_work_request API.
941
+ def get_work_request(work_request_id, opts = {})
942
+ logger.debug 'Calling operation EmailClient#get_work_request.' if logger
943
+
944
+ raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
945
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
946
+
947
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
948
+ operation_signing_strategy = :standard
949
+
950
+ # rubocop:disable Style/NegatedIf
951
+ # Query Params
952
+ query_params = {}
953
+
954
+ # Header Params
955
+ header_params = {}
956
+ header_params[:accept] = 'application/json'
957
+ header_params[:'content-type'] = 'application/json'
958
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
959
+ # rubocop:enable Style/NegatedIf
960
+
961
+ post_body = nil
962
+
963
+ # rubocop:disable Metrics/BlockLength
964
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#get_work_request') do
965
+ @api_client.call_api(
966
+ :GET,
967
+ path,
968
+ endpoint,
969
+ header_params: header_params,
970
+ query_params: query_params,
971
+ operation_signing_strategy: operation_signing_strategy,
972
+ body: post_body,
973
+ return_type: 'OCI::Email::Models::WorkRequest'
974
+ )
975
+ end
976
+ # rubocop:enable Metrics/BlockLength
977
+ end
978
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
979
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
980
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
981
+
982
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
983
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
984
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
985
+
986
+
987
+ # Lists DKIMs for a email domain.
988
+ # @param [String] email_domain_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain to which this DKIM belongs.
989
+ #
990
+ # @param [Hash] opts the optional parameters
991
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
992
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
993
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
994
+ # @option opts [String] :id A filter to only return resources that match the given id exactly.
995
+ #
996
+ # @option opts [String] :name A filter to only return resources that match the given name exactly.
997
+ #
998
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
999
+ # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
1000
+ # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1001
+ #
1002
+ # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
1003
+ # For important details about how pagination works,
1004
+ # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1005
+ #
1006
+ # @option opts [String] :sort_order The sort order to use, either ascending or descending order.
1007
+ #
1008
+ # @option opts [String] :lifecycle_state Filter returned list by specified lifecycle state. This parameter is case-insensitive.
1009
+ #
1010
+ # @option opts [String] :sort_by Specifies the attribute with which to sort the DKIMs.
1011
+ #
1012
+ # Default: `TIMECREATED`
1013
+ #
1014
+ # * **TIMECREATED:** Sorts by timeCreated.
1015
+ # * **NAME:** Sorts by name.
1016
+ # * **ID:** Sorts by id.
1017
+ # (default to TIMECREATED)
1018
+ # Allowed values are: TIMECREATED, ID, NAME
1019
+ # @return [Response] A Response object with data of type {OCI::Email::Models::DkimCollection DkimCollection}
1020
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_dkims.rb.html) to see an example of how to use list_dkims API.
1021
+ def list_dkims(email_domain_id, opts = {})
1022
+ logger.debug 'Calling operation EmailClient#list_dkims.' if logger
1023
+
1024
+ raise "Missing the required parameter 'email_domain_id' when calling list_dkims." if email_domain_id.nil?
1025
+
1026
+ if opts[:sort_order] && !OCI::Email::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1027
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Email::Models::SORT_ORDER_ENUM.'
1028
+ end
1029
+
1030
+ if opts[:lifecycle_state] && !OCI::Email::Models::Dkim::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1031
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Email::Models::Dkim::LIFECYCLE_STATE_ENUM.'
1032
+ end
1033
+
1034
+ if opts[:sort_by] && !%w[TIMECREATED ID NAME].include?(opts[:sort_by])
1035
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, ID, NAME.'
1036
+ end
1037
+
1038
+ path = '/dkims'
1039
+ operation_signing_strategy = :standard
1040
+
1041
+ # rubocop:disable Style/NegatedIf
1042
+ # Query Params
1043
+ query_params = {}
1044
+ query_params[:emailDomainId] = email_domain_id
1045
+ query_params[:id] = opts[:id] if opts[:id]
1046
+ query_params[:name] = opts[:name] if opts[:name]
1047
+ query_params[:limit] = opts[:limit] if opts[:limit]
1048
+ query_params[:page] = opts[:page] if opts[:page]
1049
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1050
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1051
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1052
+
1053
+ # Header Params
1054
+ header_params = {}
1055
+ header_params[:accept] = 'application/json'
1056
+ header_params[:'content-type'] = 'application/json'
1057
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1058
+ # rubocop:enable Style/NegatedIf
1059
+
1060
+ post_body = nil
1061
+
1062
+ # rubocop:disable Metrics/BlockLength
1063
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_dkims') do
1064
+ @api_client.call_api(
1065
+ :GET,
1066
+ path,
1067
+ endpoint,
1068
+ header_params: header_params,
1069
+ query_params: query_params,
1070
+ operation_signing_strategy: operation_signing_strategy,
1071
+ body: post_body,
1072
+ return_type: 'OCI::Email::Models::DkimCollection'
1073
+ )
1074
+ end
1075
+ # rubocop:enable Metrics/BlockLength
1076
+ end
1077
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1078
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1079
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1080
+
1081
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1082
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1083
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1084
+
1085
+
1086
+ # Lists email domains in the specified compartment.
1087
+ # @param [String] compartment_id The OCID for the compartment.
1088
+ # @param [Hash] opts the optional parameters
1089
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1090
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1091
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
1092
+ # @option opts [String] :id A filter to only return resources that match the given id exactly.
1093
+ #
1094
+ # @option opts [String] :name A filter to only return resources that match the given name exactly.
1095
+ #
1096
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
1097
+ # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
1098
+ # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1099
+ #
1100
+ # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
1101
+ # For important details about how pagination works,
1102
+ # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1103
+ #
1104
+ # @option opts [String] :sort_order The sort order to use, either ascending or descending order.
1105
+ #
1106
+ # @option opts [String] :lifecycle_state Filter returned list by specified lifecycle state. This parameter is case-insensitive.
1107
+ #
1108
+ # @option opts [String] :sort_by Specifies the attribute with which to sort the email domains.
1109
+ #
1110
+ # Default: `TIMECREATED`
1111
+ #
1112
+ # * **TIMECREATED:** Sorts by timeCreated.
1113
+ # * **NAME:** Sorts by name.
1114
+ # * **ID:** Sorts by id.
1115
+ # (default to TIMECREATED)
1116
+ # Allowed values are: TIMECREATED, ID, NAME
1117
+ # @return [Response] A Response object with data of type {OCI::Email::Models::EmailDomainCollection EmailDomainCollection}
1118
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_email_domains.rb.html) to see an example of how to use list_email_domains API.
1119
+ def list_email_domains(compartment_id, opts = {})
1120
+ logger.debug 'Calling operation EmailClient#list_email_domains.' if logger
1121
+
1122
+ raise "Missing the required parameter 'compartment_id' when calling list_email_domains." if compartment_id.nil?
1123
+
1124
+ if opts[:sort_order] && !OCI::Email::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1125
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Email::Models::SORT_ORDER_ENUM.'
1126
+ end
1127
+
1128
+ if opts[:lifecycle_state] && !OCI::Email::Models::EmailDomain::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1129
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Email::Models::EmailDomain::LIFECYCLE_STATE_ENUM.'
1130
+ end
1131
+
1132
+ if opts[:sort_by] && !%w[TIMECREATED ID NAME].include?(opts[:sort_by])
1133
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, ID, NAME.'
1134
+ end
1135
+
1136
+ path = '/emailDomains'
1137
+ operation_signing_strategy = :standard
1138
+
1139
+ # rubocop:disable Style/NegatedIf
1140
+ # Query Params
1141
+ query_params = {}
1142
+ query_params[:compartmentId] = compartment_id
1143
+ query_params[:id] = opts[:id] if opts[:id]
1144
+ query_params[:name] = opts[:name] if opts[:name]
1145
+ query_params[:limit] = opts[:limit] if opts[:limit]
1146
+ query_params[:page] = opts[:page] if opts[:page]
1147
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1148
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1149
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1150
+
1151
+ # Header Params
1152
+ header_params = {}
1153
+ header_params[:accept] = 'application/json'
1154
+ header_params[:'content-type'] = 'application/json'
1155
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1156
+ # rubocop:enable Style/NegatedIf
1157
+
1158
+ post_body = nil
1159
+
1160
+ # rubocop:disable Metrics/BlockLength
1161
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_email_domains') do
1162
+ @api_client.call_api(
1163
+ :GET,
1164
+ path,
1165
+ endpoint,
1166
+ header_params: header_params,
1167
+ query_params: query_params,
1168
+ operation_signing_strategy: operation_signing_strategy,
1169
+ body: post_body,
1170
+ return_type: 'OCI::Email::Models::EmailDomainCollection'
1171
+ )
1172
+ end
1173
+ # rubocop:enable Metrics/BlockLength
1174
+ end
1175
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1176
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1177
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1178
+
1179
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1180
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1181
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1182
+
1183
+
1184
+ # Gets a collection of approved sender email addresses and sender IDs.
1185
+ #
1186
+ # @param [String] compartment_id The OCID for the compartment.
1187
+ # @param [Hash] opts the optional parameters
1188
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1189
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1190
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
1191
+ # @option opts [String] :lifecycle_state The current state of a sender.
1192
+ # @option opts [String] :domain A filter to only return resources that match the given domain exactly.
1193
+ # @option opts [String] :email_address The email address of the approved sender.
1194
+ # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
1195
+ # For important details about how pagination works,
1196
+ # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1197
+ #
1198
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
1199
+ # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
1200
+ # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1201
+ #
1202
+ # @option opts [String] :sort_by The field to sort by. The `TIMECREATED` value returns the list in in
1203
+ # descending order by default. The `EMAILADDRESS` value returns the list in
1204
+ # ascending order by default. Use the `SortOrderQueryParam` to change the
1205
+ # direction of the returned list of items.
1206
+ #
1207
+ # Allowed values are: TIMECREATED, EMAILADDRESS
1208
+ # @option opts [String] :sort_order The sort order to use, either ascending or descending order.
1209
+ #
1210
+ # @return [Response] A Response object with data of type Array<{OCI::Email::Models::SenderSummary SenderSummary}>
1211
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_senders.rb.html) to see an example of how to use list_senders API.
1212
+ def list_senders(compartment_id, opts = {})
1213
+ logger.debug 'Calling operation EmailClient#list_senders.' if logger
1214
+
1215
+ raise "Missing the required parameter 'compartment_id' when calling list_senders." if compartment_id.nil?
1216
+
1217
+ if opts[:lifecycle_state] && !OCI::Email::Models::Sender::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1218
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Email::Models::Sender::LIFECYCLE_STATE_ENUM.'
1219
+ end
1220
+
1221
+ if opts[:sort_by] && !%w[TIMECREATED EMAILADDRESS].include?(opts[:sort_by])
1222
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, EMAILADDRESS.'
1223
+ end
1224
+
1225
+ if opts[:sort_order] && !OCI::Email::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1226
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Email::Models::SORT_ORDER_ENUM.'
1227
+ end
1228
+
1229
+ path = '/senders'
1230
+ operation_signing_strategy = :standard
1231
+
1232
+ # rubocop:disable Style/NegatedIf
1233
+ # Query Params
1234
+ query_params = {}
1235
+ query_params[:compartmentId] = compartment_id
1236
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1237
+ query_params[:domain] = opts[:domain] if opts[:domain]
1238
+ query_params[:emailAddress] = opts[:email_address] if opts[:email_address]
1239
+ query_params[:page] = opts[:page] if opts[:page]
1240
+ query_params[:limit] = opts[:limit] if opts[:limit]
1241
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1242
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1243
+
1244
+ # Header Params
1245
+ header_params = {}
1246
+ header_params[:accept] = 'application/json'
1247
+ header_params[:'content-type'] = 'application/json'
1248
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1249
+ # rubocop:enable Style/NegatedIf
1250
+
1251
+ post_body = nil
1252
+
1253
+ # rubocop:disable Metrics/BlockLength
1254
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_senders') do
571
1255
  @api_client.call_api(
572
1256
  :GET,
573
1257
  path,
@@ -590,34 +1274,185 @@ module OCI
590
1274
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
591
1275
 
592
1276
 
593
- # Gets a list of suppressed recipient email addresses for a user. The
594
- # `compartmentId` for suppressions must be a tenancy OCID. The returned list
595
- # is sorted by creation time in descending order.
1277
+ # Gets a list of suppressed recipient email addresses for a user. The
1278
+ # `compartmentId` for suppressions must be a tenancy OCID. The returned list
1279
+ # is sorted by creation time in descending order.
1280
+ #
1281
+ # @param [String] compartment_id The OCID for the compartment.
1282
+ # @param [Hash] opts the optional parameters
1283
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1284
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1285
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
1286
+ # @option opts [String] :email_address The email address of the suppression.
1287
+ # @option opts [DateTime] :time_created_greater_than_or_equal_to Search for suppressions that were created within a specific date range,
1288
+ # using this parameter to specify the earliest creation date for the
1289
+ # returned list (inclusive). Specifying this parameter without the
1290
+ # corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the
1291
+ # given `timeCreatedGreaterThanOrEqualTo` to the current time, in \"YYYY-MM-ddThh:mmZ\" format with a
1292
+ # Z offset, as defined by RFC 3339.
1293
+ #
1294
+ # **Example:** 2016-12-19T16:39:57.600Z
1295
+ #
1296
+ # @option opts [DateTime] :time_created_less_than Search for suppressions that were created within a specific date range,
1297
+ # using this parameter to specify the latest creation date for the returned
1298
+ # list (exclusive). Specifying this parameter without the corresponding
1299
+ # `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the
1300
+ # specified end date, in \"YYYY-MM-ddThh:mmZ\" format with a Z offset, as
1301
+ # defined by RFC 3339.
1302
+ #
1303
+ # **Example:** 2016-12-19T16:39:57.600Z
1304
+ #
1305
+ # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
1306
+ # For important details about how pagination works,
1307
+ # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1308
+ #
1309
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
1310
+ # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
1311
+ # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1312
+ #
1313
+ # @option opts [String] :sort_by The field to sort by. The `TIMECREATED` value returns the list in in
1314
+ # descending order by default. The `EMAILADDRESS` value returns the list in
1315
+ # ascending order by default. Use the `SortOrderQueryParam` to change the
1316
+ # direction of the returned list of items.
1317
+ #
1318
+ # Allowed values are: TIMECREATED, EMAILADDRESS
1319
+ # @option opts [String] :sort_order The sort order to use, either ascending or descending order.
1320
+ #
1321
+ # @return [Response] A Response object with data of type Array<{OCI::Email::Models::SuppressionSummary SuppressionSummary}>
1322
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_suppressions.rb.html) to see an example of how to use list_suppressions API.
1323
+ def list_suppressions(compartment_id, opts = {})
1324
+ logger.debug 'Calling operation EmailClient#list_suppressions.' if logger
1325
+
1326
+ raise "Missing the required parameter 'compartment_id' when calling list_suppressions." if compartment_id.nil?
1327
+
1328
+ if opts[:sort_by] && !%w[TIMECREATED EMAILADDRESS].include?(opts[:sort_by])
1329
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, EMAILADDRESS.'
1330
+ end
1331
+
1332
+ if opts[:sort_order] && !OCI::Email::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1333
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Email::Models::SORT_ORDER_ENUM.'
1334
+ end
1335
+
1336
+ path = '/suppressions'
1337
+ operation_signing_strategy = :standard
1338
+
1339
+ # rubocop:disable Style/NegatedIf
1340
+ # Query Params
1341
+ query_params = {}
1342
+ query_params[:compartmentId] = compartment_id
1343
+ query_params[:emailAddress] = opts[:email_address] if opts[:email_address]
1344
+ query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
1345
+ query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
1346
+ query_params[:page] = opts[:page] if opts[:page]
1347
+ query_params[:limit] = opts[:limit] if opts[:limit]
1348
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1349
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1350
+
1351
+ # Header Params
1352
+ header_params = {}
1353
+ header_params[:accept] = 'application/json'
1354
+ header_params[:'content-type'] = 'application/json'
1355
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1356
+ # rubocop:enable Style/NegatedIf
1357
+
1358
+ post_body = nil
1359
+
1360
+ # rubocop:disable Metrics/BlockLength
1361
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_suppressions') do
1362
+ @api_client.call_api(
1363
+ :GET,
1364
+ path,
1365
+ endpoint,
1366
+ header_params: header_params,
1367
+ query_params: query_params,
1368
+ operation_signing_strategy: operation_signing_strategy,
1369
+ body: post_body,
1370
+ return_type: 'Array<OCI::Email::Models::SuppressionSummary>'
1371
+ )
1372
+ end
1373
+ # rubocop:enable Metrics/BlockLength
1374
+ end
1375
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1376
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1377
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1378
+
1379
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1380
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1381
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1382
+
1383
+
1384
+ # Return a (paginated) list of errors for a given work request.
596
1385
  #
597
- # @param [String] compartment_id The OCID for the compartment.
1386
+ # @param [String] work_request_id The ID of the asynchronous request.
598
1387
  # @param [Hash] opts the optional parameters
599
1388
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
600
1389
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
601
1390
  # @option opts [String] :opc_request_id The request ID for tracing from the system
602
- # @option opts [String] :email_address The email address of the suppression.
603
- # @option opts [DateTime] :time_created_greater_than_or_equal_to Search for suppressions that were created within a specific date range,
604
- # using this parameter to specify the earliest creation date for the
605
- # returned list (inclusive). Specifying this parameter without the
606
- # corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the
607
- # given `timeCreatedGreaterThanOrEqualTo` to the current time, in \"YYYY-MM-ddThh:mmZ\" format with a
608
- # Z offset, as defined by RFC 3339.
609
- #
610
- # **Example:** 2016-12-19T16:39:57.600Z
1391
+ # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
1392
+ # For important details about how pagination works,
1393
+ # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
611
1394
  #
612
- # @option opts [DateTime] :time_created_less_than Search for suppressions that were created within a specific date range,
613
- # using this parameter to specify the latest creation date for the returned
614
- # list (exclusive). Specifying this parameter without the corresponding
615
- # `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the
616
- # specified end date, in \"YYYY-MM-ddThh:mmZ\" format with a Z offset, as
617
- # defined by RFC 3339.
1395
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
1396
+ # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
1397
+ # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
618
1398
  #
619
- # **Example:** 2016-12-19T16:39:57.600Z
1399
+ # @return [Response] A Response object with data of type {OCI::Email::Models::WorkRequestErrorCollection WorkRequestErrorCollection}
1400
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
1401
+ def list_work_request_errors(work_request_id, opts = {})
1402
+ logger.debug 'Calling operation EmailClient#list_work_request_errors.' if logger
1403
+
1404
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
1405
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1406
+
1407
+ path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
1408
+ operation_signing_strategy = :standard
1409
+
1410
+ # rubocop:disable Style/NegatedIf
1411
+ # Query Params
1412
+ query_params = {}
1413
+ query_params[:page] = opts[:page] if opts[:page]
1414
+ query_params[:limit] = opts[:limit] if opts[:limit]
1415
+
1416
+ # Header Params
1417
+ header_params = {}
1418
+ header_params[:accept] = 'application/json'
1419
+ header_params[:'content-type'] = 'application/json'
1420
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1421
+ # rubocop:enable Style/NegatedIf
1422
+
1423
+ post_body = nil
1424
+
1425
+ # rubocop:disable Metrics/BlockLength
1426
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_work_request_errors') do
1427
+ @api_client.call_api(
1428
+ :GET,
1429
+ path,
1430
+ endpoint,
1431
+ header_params: header_params,
1432
+ query_params: query_params,
1433
+ operation_signing_strategy: operation_signing_strategy,
1434
+ body: post_body,
1435
+ return_type: 'OCI::Email::Models::WorkRequestErrorCollection'
1436
+ )
1437
+ end
1438
+ # rubocop:enable Metrics/BlockLength
1439
+ end
1440
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1441
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1442
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1443
+
1444
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1445
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1446
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1447
+
1448
+
1449
+ # Return a (paginated) list of logs for a given work request.
620
1450
  #
1451
+ # @param [String] work_request_id The ID of the asynchronous request.
1452
+ # @param [Hash] opts the optional parameters
1453
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1454
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1455
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
621
1456
  # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
622
1457
  # For important details about how pagination works,
623
1458
  # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
@@ -626,44 +1461,89 @@ module OCI
626
1461
  # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
627
1462
  # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
628
1463
  #
629
- # @option opts [String] :sort_by The field to sort by. The `TIMECREATED` value returns the list in in
630
- # descending order by default. The `EMAILADDRESS` value returns the list in
631
- # ascending order by default. Use the `SortOrderQueryParam` to change the
632
- # direction of the returned list of items.
633
- #
634
- # Allowed values are: TIMECREATED, EMAILADDRESS
635
- # @option opts [String] :sort_order The sort order to use, either ascending or descending order.
636
- #
637
- # Allowed values are: ASC, DESC
638
- # @return [Response] A Response object with data of type Array<{OCI::Email::Models::SuppressionSummary SuppressionSummary}>
639
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_suppressions.rb.html) to see an example of how to use list_suppressions API.
640
- def list_suppressions(compartment_id, opts = {})
641
- logger.debug 'Calling operation EmailClient#list_suppressions.' if logger
1464
+ # @return [Response] A Response object with data of type {OCI::Email::Models::WorkRequestLogEntryCollection WorkRequestLogEntryCollection}
1465
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
1466
+ def list_work_request_logs(work_request_id, opts = {})
1467
+ logger.debug 'Calling operation EmailClient#list_work_request_logs.' if logger
642
1468
 
643
- raise "Missing the required parameter 'compartment_id' when calling list_suppressions." if compartment_id.nil?
1469
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
1470
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
644
1471
 
645
- if opts[:sort_by] && !%w[TIMECREATED EMAILADDRESS].include?(opts[:sort_by])
646
- raise 'Invalid value for "sort_by", must be one of TIMECREATED, EMAILADDRESS.'
647
- end
1472
+ path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
1473
+ operation_signing_strategy = :standard
1474
+
1475
+ # rubocop:disable Style/NegatedIf
1476
+ # Query Params
1477
+ query_params = {}
1478
+ query_params[:page] = opts[:page] if opts[:page]
1479
+ query_params[:limit] = opts[:limit] if opts[:limit]
1480
+
1481
+ # Header Params
1482
+ header_params = {}
1483
+ header_params[:accept] = 'application/json'
1484
+ header_params[:'content-type'] = 'application/json'
1485
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1486
+ # rubocop:enable Style/NegatedIf
1487
+
1488
+ post_body = nil
648
1489
 
649
- if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
650
- raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1490
+ # rubocop:disable Metrics/BlockLength
1491
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_work_request_logs') do
1492
+ @api_client.call_api(
1493
+ :GET,
1494
+ path,
1495
+ endpoint,
1496
+ header_params: header_params,
1497
+ query_params: query_params,
1498
+ operation_signing_strategy: operation_signing_strategy,
1499
+ body: post_body,
1500
+ return_type: 'OCI::Email::Models::WorkRequestLogEntryCollection'
1501
+ )
651
1502
  end
1503
+ # rubocop:enable Metrics/BlockLength
1504
+ end
1505
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1506
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1507
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
652
1508
 
653
- path = '/suppressions'
1509
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1510
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1511
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1512
+
1513
+
1514
+ # Lists the work requests in a compartment.
1515
+ #
1516
+ # @param [String] compartment_id The OCID for the compartment.
1517
+ # @param [Hash] opts the optional parameters
1518
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1519
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1520
+ # @option opts [String] :work_request_id The ID of the asynchronous work request.
1521
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
1522
+ # @option opts [String] :page For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
1523
+ # For important details about how pagination works,
1524
+ # see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1525
+ #
1526
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a
1527
+ # paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
1528
+ # how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1529
+ #
1530
+ # @return [Response] A Response object with data of type {OCI::Email::Models::WorkRequestSummaryCollection WorkRequestSummaryCollection}
1531
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
1532
+ def list_work_requests(compartment_id, opts = {})
1533
+ logger.debug 'Calling operation EmailClient#list_work_requests.' if logger
1534
+
1535
+ raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
1536
+
1537
+ path = '/workRequests'
654
1538
  operation_signing_strategy = :standard
655
1539
 
656
1540
  # rubocop:disable Style/NegatedIf
657
1541
  # Query Params
658
1542
  query_params = {}
659
1543
  query_params[:compartmentId] = compartment_id
660
- query_params[:emailAddress] = opts[:email_address] if opts[:email_address]
661
- query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
662
- query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
1544
+ query_params[:workRequestId] = opts[:work_request_id] if opts[:work_request_id]
663
1545
  query_params[:page] = opts[:page] if opts[:page]
664
1546
  query_params[:limit] = opts[:limit] if opts[:limit]
665
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
666
- query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
667
1547
 
668
1548
  # Header Params
669
1549
  header_params = {}
@@ -675,7 +1555,7 @@ module OCI
675
1555
  post_body = nil
676
1556
 
677
1557
  # rubocop:disable Metrics/BlockLength
678
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_suppressions') do
1558
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#list_work_requests') do
679
1559
  @api_client.call_api(
680
1560
  :GET,
681
1561
  path,
@@ -684,7 +1564,127 @@ module OCI
684
1564
  query_params: query_params,
685
1565
  operation_signing_strategy: operation_signing_strategy,
686
1566
  body: post_body,
687
- return_type: 'Array<OCI::Email::Models::SuppressionSummary>'
1567
+ return_type: 'OCI::Email::Models::WorkRequestSummaryCollection'
1568
+ )
1569
+ end
1570
+ # rubocop:enable Metrics/BlockLength
1571
+ end
1572
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1573
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1574
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1575
+
1576
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1577
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1578
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1579
+
1580
+
1581
+ # Modifies a DKIM.
1582
+ # @param [String] dkim_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM.
1583
+ # @param [OCI::Email::Models::UpdateDkimDetails] update_dkim_details The new DKIM attributes to apply.
1584
+ # @param [Hash] opts the optional parameters
1585
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1586
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1587
+ # @option opts [String] :if_match Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
1588
+ # parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
1589
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1590
+ #
1591
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
1592
+ # @return [Response] A Response object with data of type nil
1593
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/update_dkim.rb.html) to see an example of how to use update_dkim API.
1594
+ def update_dkim(dkim_id, update_dkim_details, opts = {})
1595
+ logger.debug 'Calling operation EmailClient#update_dkim.' if logger
1596
+
1597
+ raise "Missing the required parameter 'dkim_id' when calling update_dkim." if dkim_id.nil?
1598
+ raise "Missing the required parameter 'update_dkim_details' when calling update_dkim." if update_dkim_details.nil?
1599
+ raise "Parameter value for 'dkim_id' must not be blank" if OCI::Internal::Util.blank_string?(dkim_id)
1600
+
1601
+ path = '/dkims/{dkimId}'.sub('{dkimId}', dkim_id.to_s)
1602
+ operation_signing_strategy = :standard
1603
+
1604
+ # rubocop:disable Style/NegatedIf
1605
+ # Query Params
1606
+ query_params = {}
1607
+
1608
+ # Header Params
1609
+ header_params = {}
1610
+ header_params[:accept] = 'application/json'
1611
+ header_params[:'content-type'] = 'application/json'
1612
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1613
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1614
+ # rubocop:enable Style/NegatedIf
1615
+
1616
+ post_body = @api_client.object_to_http_body(update_dkim_details)
1617
+
1618
+ # rubocop:disable Metrics/BlockLength
1619
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#update_dkim') do
1620
+ @api_client.call_api(
1621
+ :PUT,
1622
+ path,
1623
+ endpoint,
1624
+ header_params: header_params,
1625
+ query_params: query_params,
1626
+ operation_signing_strategy: operation_signing_strategy,
1627
+ body: post_body
1628
+ )
1629
+ end
1630
+ # rubocop:enable Metrics/BlockLength
1631
+ end
1632
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1633
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1634
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1635
+
1636
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1637
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1638
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1639
+
1640
+
1641
+ # Modifies a email domain.
1642
+ # @param [String] email_domain_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
1643
+ # @param [OCI::Email::Models::UpdateEmailDomainDetails] update_email_domain_details The new email domain attributes to apply.
1644
+ # @param [Hash] opts the optional parameters
1645
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1646
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1647
+ # @option opts [String] :if_match Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
1648
+ # parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
1649
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1650
+ #
1651
+ # @option opts [String] :opc_request_id The request ID for tracing from the system
1652
+ # @return [Response] A Response object with data of type nil
1653
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/email/update_email_domain.rb.html) to see an example of how to use update_email_domain API.
1654
+ def update_email_domain(email_domain_id, update_email_domain_details, opts = {})
1655
+ logger.debug 'Calling operation EmailClient#update_email_domain.' if logger
1656
+
1657
+ raise "Missing the required parameter 'email_domain_id' when calling update_email_domain." if email_domain_id.nil?
1658
+ raise "Missing the required parameter 'update_email_domain_details' when calling update_email_domain." if update_email_domain_details.nil?
1659
+ raise "Parameter value for 'email_domain_id' must not be blank" if OCI::Internal::Util.blank_string?(email_domain_id)
1660
+
1661
+ path = '/emailDomains/{emailDomainId}'.sub('{emailDomainId}', email_domain_id.to_s)
1662
+ operation_signing_strategy = :standard
1663
+
1664
+ # rubocop:disable Style/NegatedIf
1665
+ # Query Params
1666
+ query_params = {}
1667
+
1668
+ # Header Params
1669
+ header_params = {}
1670
+ header_params[:accept] = 'application/json'
1671
+ header_params[:'content-type'] = 'application/json'
1672
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1673
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1674
+ # rubocop:enable Style/NegatedIf
1675
+
1676
+ post_body = @api_client.object_to_http_body(update_email_domain_details)
1677
+
1678
+ # rubocop:disable Metrics/BlockLength
1679
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'EmailClient#update_email_domain') do
1680
+ @api_client.call_api(
1681
+ :PUT,
1682
+ path,
1683
+ endpoint,
1684
+ header_params: header_params,
1685
+ query_params: query_params,
1686
+ operation_signing_strategy: operation_signing_strategy,
1687
+ body: post_body
688
1688
  )
689
1689
  end
690
1690
  # rubocop:enable Metrics/BlockLength