oci 2.17.0 → 2.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2577) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/lib/oci/adm/adm.rb +50 -0
  4. data/lib/oci/adm/application_dependency_management_client.rb +1329 -0
  5. data/lib/oci/adm/application_dependency_management_client_composite_operations.rb +352 -0
  6. data/lib/oci/adm/models/action_type.rb +15 -0
  7. data/lib/oci/adm/models/application_dependency.rb +178 -0
  8. data/lib/oci/adm/models/application_dependency_vulnerability_collection.rb +152 -0
  9. data/lib/oci/adm/models/application_dependency_vulnerability_summary.rb +205 -0
  10. data/lib/oci/adm/models/change_knowledge_base_compartment_details.rb +154 -0
  11. data/lib/oci/adm/models/change_vulnerability_audit_compartment_details.rb +154 -0
  12. data/lib/oci/adm/models/create_knowledge_base_details.rb +200 -0
  13. data/lib/oci/adm/models/create_vulnerability_audit_details.rb +251 -0
  14. data/lib/oci/adm/models/knowledge_base.rb +293 -0
  15. data/lib/oci/adm/models/knowledge_base_collection.rb +150 -0
  16. data/lib/oci/adm/models/knowledge_base_summary.rb +268 -0
  17. data/lib/oci/adm/models/operation_status.rb +16 -0
  18. data/lib/oci/adm/models/operation_type.rb +13 -0
  19. data/lib/oci/adm/models/sort_order.rb +11 -0
  20. data/lib/oci/adm/models/update_knowledge_base_details.rb +186 -0
  21. data/lib/oci/adm/models/update_vulnerability_audit_details.rb +186 -0
  22. data/lib/oci/adm/models/vulnerability.rb +195 -0
  23. data/lib/oci/adm/models/vulnerability_audit.rb +414 -0
  24. data/lib/oci/adm/models/vulnerability_audit_collection.rb +150 -0
  25. data/lib/oci/adm/models/vulnerability_audit_configuration.rb +184 -0
  26. data/lib/oci/adm/models/vulnerability_audit_summary.rb +352 -0
  27. data/lib/oci/adm/models/work_request.rb +309 -0
  28. data/lib/oci/adm/models/work_request_error.rb +173 -0
  29. data/lib/oci/adm/models/work_request_error_collection.rb +150 -0
  30. data/lib/oci/adm/models/work_request_log_entry.rb +160 -0
  31. data/lib/oci/adm/models/work_request_log_entry_collection.rb +150 -0
  32. data/lib/oci/adm/models/work_request_resource.rb +230 -0
  33. data/lib/oci/adm/models/work_request_resource_metadata_key.rb +10 -0
  34. data/lib/oci/adm/models/work_request_summary.rb +341 -0
  35. data/lib/oci/adm/models/work_request_summary_collection.rb +150 -0
  36. data/lib/oci/adm/util.rb +3 -0
  37. data/lib/oci/ai_speech/ai_service_speech_client.rb +715 -0
  38. data/lib/oci/ai_speech/ai_service_speech_client_composite_operations.rb +104 -0
  39. data/lib/oci/ai_speech/ai_speech.rb +40 -0
  40. data/lib/oci/ai_speech/models/audio_format_details.rb +188 -0
  41. data/lib/oci/ai_speech/models/change_transcription_job_compartment_details.rb +156 -0
  42. data/lib/oci/ai_speech/models/create_transcription_job_details.rb +293 -0
  43. data/lib/oci/ai_speech/models/input_location.rb +192 -0
  44. data/lib/oci/ai_speech/models/object_list_file_input_location.rb +162 -0
  45. data/lib/oci/ai_speech/models/object_list_inline_input_location.rb +162 -0
  46. data/lib/oci/ai_speech/models/object_location.rb +182 -0
  47. data/lib/oci/ai_speech/models/output_location.rb +178 -0
  48. data/lib/oci/ai_speech/models/profanity_transcription_filter.rb +182 -0
  49. data/lib/oci/ai_speech/models/sort_order.rb +11 -0
  50. data/lib/oci/ai_speech/models/transcription_filter.rb +186 -0
  51. data/lib/oci/ai_speech/models/transcription_job.rb +504 -0
  52. data/lib/oci/ai_speech/models/transcription_job_collection.rb +150 -0
  53. data/lib/oci/ai_speech/models/transcription_job_summary.rb +366 -0
  54. data/lib/oci/ai_speech/models/transcription_model_details.rb +206 -0
  55. data/lib/oci/ai_speech/models/transcription_normalization.rb +166 -0
  56. data/lib/oci/ai_speech/models/transcription_task.rb +351 -0
  57. data/lib/oci/ai_speech/models/transcription_task_collection.rb +150 -0
  58. data/lib/oci/ai_speech/models/transcription_task_summary.rb +262 -0
  59. data/lib/oci/ai_speech/models/update_transcription_job_details.rb +196 -0
  60. data/lib/oci/ai_speech/util.rb +3 -0
  61. data/lib/oci/ai_vision/ai_service_vision_client.rb +49 -49
  62. data/lib/oci/ai_vision/ai_service_vision_client_composite_operations.rb +10 -10
  63. data/lib/oci/ai_vision/models/analyze_document_details.rb +4 -4
  64. data/lib/oci/ai_vision/models/analyze_document_result.rb +9 -9
  65. data/lib/oci/ai_vision/models/analyze_image_details.rb +3 -3
  66. data/lib/oci/ai_vision/models/analyze_image_result.rb +8 -8
  67. data/lib/oci/ai_vision/models/bounding_polygon.rb +2 -2
  68. data/lib/oci/ai_vision/models/cell.rb +5 -5
  69. data/lib/oci/ai_vision/models/change_model_compartment_details.rb +1 -1
  70. data/lib/oci/ai_vision/models/create_document_job_details.rb +6 -6
  71. data/lib/oci/ai_vision/models/create_image_job_details.rb +5 -5
  72. data/lib/oci/ai_vision/models/create_model_details.rb +12 -12
  73. data/lib/oci/ai_vision/models/create_project_details.rb +7 -7
  74. data/lib/oci/ai_vision/models/data_science_labeling_dataset.rb +1 -1
  75. data/lib/oci/ai_vision/models/dataset.rb +1 -1
  76. data/lib/oci/ai_vision/models/detected_document_type.rb +3 -3
  77. data/lib/oci/ai_vision/models/detected_language.rb +3 -3
  78. data/lib/oci/ai_vision/models/dimensions.rb +4 -4
  79. data/lib/oci/ai_vision/models/document_classification_feature.rb +2 -2
  80. data/lib/oci/ai_vision/models/document_details.rb +4 -4
  81. data/lib/oci/ai_vision/models/document_feature.rb +3 -3
  82. data/lib/oci/ai_vision/models/document_field.rb +1 -1
  83. data/lib/oci/ai_vision/models/document_job.rb +12 -12
  84. data/lib/oci/ai_vision/models/document_metadata.rb +3 -3
  85. data/lib/oci/ai_vision/models/document_text_detection_feature.rb +1 -1
  86. data/lib/oci/ai_vision/models/field_label.rb +3 -3
  87. data/lib/oci/ai_vision/models/field_name.rb +4 -4
  88. data/lib/oci/ai_vision/models/field_value.rb +5 -5
  89. data/lib/oci/ai_vision/models/image_classification_feature.rb +2 -2
  90. data/lib/oci/ai_vision/models/image_details.rb +4 -4
  91. data/lib/oci/ai_vision/models/image_feature.rb +3 -3
  92. data/lib/oci/ai_vision/models/image_job.rb +10 -10
  93. data/lib/oci/ai_vision/models/image_object.rb +3 -3
  94. data/lib/oci/ai_vision/models/image_object_detection_feature.rb +2 -2
  95. data/lib/oci/ai_vision/models/image_text.rb +3 -3
  96. data/lib/oci/ai_vision/models/image_text_detection_feature.rb +2 -2
  97. data/lib/oci/ai_vision/models/inline_document_details.rb +2 -2
  98. data/lib/oci/ai_vision/models/inline_image_details.rb +2 -2
  99. data/lib/oci/ai_vision/models/input_location.rb +3 -3
  100. data/lib/oci/ai_vision/models/label.rb +3 -3
  101. data/lib/oci/ai_vision/models/line.rb +4 -4
  102. data/lib/oci/ai_vision/models/model.rb +20 -20
  103. data/lib/oci/ai_vision/models/model_collection.rb +2 -2
  104. data/lib/oci/ai_vision/models/model_summary.rb +12 -12
  105. data/lib/oci/ai_vision/models/normalized_vertex.rb +2 -2
  106. data/lib/oci/ai_vision/models/object_list_inline_input_location.rb +1 -1
  107. data/lib/oci/ai_vision/models/object_location.rb +3 -3
  108. data/lib/oci/ai_vision/models/object_storage_dataset.rb +1 -1
  109. data/lib/oci/ai_vision/models/object_storage_document_details.rb +3 -3
  110. data/lib/oci/ai_vision/models/object_storage_image_details.rb +4 -4
  111. data/lib/oci/ai_vision/models/ontology_class.rb +3 -3
  112. data/lib/oci/ai_vision/models/output_location.rb +4 -4
  113. data/lib/oci/ai_vision/models/page.rb +5 -5
  114. data/lib/oci/ai_vision/models/processing_error.rb +3 -3
  115. data/lib/oci/ai_vision/models/project.rb +10 -10
  116. data/lib/oci/ai_vision/models/project_collection.rb +1 -1
  117. data/lib/oci/ai_vision/models/project_summary.rb +9 -9
  118. data/lib/oci/ai_vision/models/table.rb +7 -7
  119. data/lib/oci/ai_vision/models/table_row.rb +1 -1
  120. data/lib/oci/ai_vision/models/update_model_details.rb +6 -6
  121. data/lib/oci/ai_vision/models/update_project_details.rb +6 -6
  122. data/lib/oci/ai_vision/models/value_array.rb +1 -1
  123. data/lib/oci/ai_vision/models/value_date.rb +2 -2
  124. data/lib/oci/ai_vision/models/value_integer.rb +2 -2
  125. data/lib/oci/ai_vision/models/value_number.rb +2 -2
  126. data/lib/oci/ai_vision/models/value_phone_number.rb +2 -2
  127. data/lib/oci/ai_vision/models/value_string.rb +2 -2
  128. data/lib/oci/ai_vision/models/value_time.rb +2 -2
  129. data/lib/oci/ai_vision/models/word.rb +2 -2
  130. data/lib/oci/ai_vision/models/work_request.rb +5 -5
  131. data/lib/oci/ai_vision/models/work_request_error.rb +1 -1
  132. data/lib/oci/ai_vision/models/work_request_error_collection.rb +2 -2
  133. data/lib/oci/ai_vision/models/work_request_log_entry.rb +1 -1
  134. data/lib/oci/ai_vision/models/work_request_log_entry_collection.rb +2 -2
  135. data/lib/oci/ai_vision/models/work_request_resource.rb +4 -4
  136. data/lib/oci/ai_vision/models/work_request_summary.rb +7 -7
  137. data/lib/oci/ai_vision/models/work_request_summary_collection.rb +2 -2
  138. data/lib/oci/analytics/analytics.rb +1 -0
  139. data/lib/oci/analytics/analytics_client.rb +73 -0
  140. data/lib/oci/analytics/analytics_client_composite_operations.rb +52 -0
  141. data/lib/oci/analytics/models/analytics_instance.rb +16 -1
  142. data/lib/oci/analytics/models/create_analytics_instance_details.rb +19 -4
  143. data/lib/oci/analytics/models/set_kms_key_details.rb +156 -0
  144. data/lib/oci/analytics/models/work_request.rb +1 -0
  145. data/lib/oci/analytics/models/work_request_operation_type.rb +2 -1
  146. data/lib/oci/analytics/models/work_request_summary.rb +1 -0
  147. data/lib/oci/apigateway/apigateway.rb +24 -0
  148. data/lib/oci/apigateway/models/api_specification_request_policies.rb +17 -4
  149. data/lib/oci/apigateway/models/change_subscriber_compartment_details.rb +156 -0
  150. data/lib/oci/apigateway/models/change_usage_plan_compartment_details.rb +156 -0
  151. data/lib/oci/apigateway/models/client.rb +160 -0
  152. data/lib/oci/apigateway/models/client_summary.rb +150 -0
  153. data/lib/oci/apigateway/models/create_deployment_details.rb +1 -0
  154. data/lib/oci/apigateway/models/create_subscriber_details.rb +238 -0
  155. data/lib/oci/apigateway/models/create_usage_plan_details.rb +223 -0
  156. data/lib/oci/apigateway/models/deployment.rb +1 -0
  157. data/lib/oci/apigateway/models/entitlement.rb +197 -0
  158. data/lib/oci/apigateway/models/entitlement_summary.rb +186 -0
  159. data/lib/oci/apigateway/models/entitlement_target.rb +157 -0
  160. data/lib/oci/apigateway/models/quota.rb +257 -0
  161. data/lib/oci/apigateway/models/rate_limit.rb +183 -0
  162. data/lib/oci/apigateway/models/subscriber.rb +333 -0
  163. data/lib/oci/apigateway/models/subscriber_collection.rb +150 -0
  164. data/lib/oci/apigateway/models/subscriber_summary.rb +308 -0
  165. data/lib/oci/apigateway/models/update_subscriber_details.rb +222 -0
  166. data/lib/oci/apigateway/models/update_usage_plan_details.rb +207 -0
  167. data/lib/oci/apigateway/models/usage_plan.rb +318 -0
  168. data/lib/oci/apigateway/models/usage_plan_collection.rb +150 -0
  169. data/lib/oci/apigateway/models/usage_plan_summary.rb +293 -0
  170. data/lib/oci/apigateway/models/usage_plans_policy.rb +160 -0
  171. data/lib/oci/apigateway/models/work_request.rb +6 -0
  172. data/lib/oci/apigateway/subscribers_client.rb +503 -0
  173. data/lib/oci/apigateway/subscribers_client_composite_operations.rb +223 -0
  174. data/lib/oci/apigateway/usage_plans_client.rb +503 -0
  175. data/lib/oci/apigateway/usage_plans_client_composite_operations.rb +223 -0
  176. data/lib/oci/apm_config/apm_config.rb +11 -0
  177. data/lib/oci/apm_config/config_client.rb +203 -0
  178. data/lib/oci/apm_config/models/apdex.rb +1 -1
  179. data/lib/oci/apm_config/models/apdex_rules.rb +1 -1
  180. data/lib/oci/apm_config/models/apdex_rules_summary.rb +1 -1
  181. data/lib/oci/apm_config/models/config.rb +2 -0
  182. data/lib/oci/apm_config/models/config_summary.rb +2 -0
  183. data/lib/oci/apm_config/models/config_types.rb +2 -1
  184. data/lib/oci/apm_config/models/create_apdex_rules_details.rb +1 -1
  185. data/lib/oci/apm_config/models/create_config_details.rb +3 -1
  186. data/lib/oci/apm_config/models/create_metric_group_details.rb +1 -1
  187. data/lib/oci/apm_config/models/create_options_details.rb +201 -0
  188. data/lib/oci/apm_config/models/create_span_filter_details.rb +1 -1
  189. data/lib/oci/apm_config/models/metric_group.rb +1 -1
  190. data/lib/oci/apm_config/models/metric_group_summary.rb +1 -1
  191. data/lib/oci/apm_config/models/metric_types.rb +11 -0
  192. data/lib/oci/apm_config/models/namespace.rb +151 -0
  193. data/lib/oci/apm_config/models/namespace_collection.rb +150 -0
  194. data/lib/oci/apm_config/models/namespace_metric.rb +190 -0
  195. data/lib/oci/apm_config/models/namespace_metric_collection.rb +150 -0
  196. data/lib/oci/apm_config/models/options.rb +213 -0
  197. data/lib/oci/apm_config/models/options_summary.rb +213 -0
  198. data/lib/oci/apm_config/models/retrieve_namespace_metrics_details.rb +150 -0
  199. data/lib/oci/apm_config/models/span_filter.rb +1 -1
  200. data/lib/oci/apm_config/models/span_filter_summary.rb +1 -1
  201. data/lib/oci/apm_config/models/update_apdex_rules_details.rb +1 -1
  202. data/lib/oci/apm_config/models/update_config_details.rb +3 -1
  203. data/lib/oci/apm_config/models/update_metric_group_details.rb +1 -1
  204. data/lib/oci/apm_config/models/update_options_details.rb +201 -0
  205. data/lib/oci/apm_config/models/update_span_filter_details.rb +1 -1
  206. data/lib/oci/apm_config/models/validate_span_filter_pattern_details.rb +155 -0
  207. data/lib/oci/apm_control_plane/apm_domain_client.rb +12 -12
  208. data/lib/oci/apm_control_plane/apm_domain_client_composite_operations.rb +5 -5
  209. data/lib/oci/apm_control_plane/models/work_request_error.rb +1 -1
  210. data/lib/oci/apm_synthetics/apm_synthetic_client.rb +368 -7
  211. data/lib/oci/apm_synthetics/apm_synthetics.rb +8 -0
  212. data/lib/oci/apm_synthetics/models/browser_monitor_configuration.rb +1 -1
  213. data/lib/oci/apm_synthetics/models/create_dedicated_vantage_point_details.rb +234 -0
  214. data/lib/oci/apm_synthetics/models/create_monitor_details.rb +5 -4
  215. data/lib/oci/apm_synthetics/models/dedicated_vantage_point.rb +308 -0
  216. data/lib/oci/apm_synthetics/models/dedicated_vantage_point_collection.rb +150 -0
  217. data/lib/oci/apm_synthetics/models/dedicated_vantage_point_status.rb +11 -0
  218. data/lib/oci/apm_synthetics/models/dedicated_vantage_point_summary.rb +308 -0
  219. data/lib/oci/apm_synthetics/models/dvp_stack_details.rb +203 -0
  220. data/lib/oci/apm_synthetics/models/geo_summary.rb +1 -1
  221. data/lib/oci/apm_synthetics/models/monitor.rb +4 -3
  222. data/lib/oci/apm_synthetics/models/monitor_result.rb +1 -1
  223. data/lib/oci/apm_synthetics/models/monitor_summary.rb +3 -3
  224. data/lib/oci/apm_synthetics/models/oracle_rm_stack.rb +180 -0
  225. data/lib/oci/apm_synthetics/models/script.rb +1 -1
  226. data/lib/oci/apm_synthetics/models/update_dedicated_vantage_point_details.rb +218 -0
  227. data/lib/oci/apm_synthetics/models/update_monitor_details.rb +5 -4
  228. data/lib/oci/appmgmt_control/appmgmt_control_client.rb +1 -1
  229. data/lib/oci/artifacts/artifacts_client.rb +2 -2
  230. data/lib/oci/bastion/bastion_client.rb +1 -1
  231. data/lib/oci/bds/bds.rb +31 -0
  232. data/lib/oci/bds/bds_client.rb +276 -2
  233. data/lib/oci/bds/bds_client_composite_operations.rb +100 -0
  234. data/lib/oci/bds/models/add_auto_scale_policy_details.rb +186 -0
  235. data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +18 -6
  236. data/lib/oci/bds/models/add_block_storage_details.rb +31 -4
  237. data/lib/oci/bds/models/add_metric_based_horizontal_scaling_policy_details.rb +177 -0
  238. data/lib/oci/bds/models/add_metric_based_vertical_scaling_policy_details.rb +177 -0
  239. data/lib/oci/bds/models/add_schedule_based_horizontal_scaling_policy_details.rb +175 -0
  240. data/lib/oci/bds/models/add_schedule_based_vertical_scaling_policy_details.rb +175 -0
  241. data/lib/oci/bds/models/add_worker_nodes_details.rb +69 -4
  242. data/lib/oci/bds/models/auto_scale_policy.rb +3 -1
  243. data/lib/oci/bds/models/auto_scale_policy_details.rb +269 -0
  244. data/lib/oci/bds/models/auto_scaling_configuration.rb +19 -5
  245. data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +18 -5
  246. data/lib/oci/bds/models/bds_instance.rb +16 -1
  247. data/lib/oci/bds/models/change_shape_nodes.rb +70 -4
  248. data/lib/oci/bds/models/cluster_details.rb +32 -4
  249. data/lib/oci/bds/models/create_bds_instance_details.rb +29 -1
  250. data/lib/oci/bds/models/create_node_details.rb +17 -4
  251. data/lib/oci/bds/models/day_based_horizontal_scaling_schedule_details.rb +161 -0
  252. data/lib/oci/bds/models/day_based_vertical_scaling_schedule_details.rb +161 -0
  253. data/lib/oci/bds/models/horizontal_scaling_schedule_details.rb +170 -0
  254. data/lib/oci/bds/models/install_patch_details.rb +164 -0
  255. data/lib/oci/bds/models/metric_based_horizontal_scale_in_config.rb +177 -0
  256. data/lib/oci/bds/models/metric_based_horizontal_scale_out_config.rb +177 -0
  257. data/lib/oci/bds/models/metric_based_horizontal_scaling_policy_details.rb +185 -0
  258. data/lib/oci/bds/models/metric_based_vertical_scale_down_config.rb +205 -0
  259. data/lib/oci/bds/models/metric_based_vertical_scale_up_config.rb +206 -0
  260. data/lib/oci/bds/models/metric_based_vertical_scaling_policy_details.rb +185 -0
  261. data/lib/oci/bds/models/metric_threshold_rule.rb +2 -2
  262. data/lib/oci/bds/models/node.rb +29 -4
  263. data/lib/oci/bds/models/operation_types.rb +7 -1
  264. data/lib/oci/bds/models/patch_history_summary.rb +199 -0
  265. data/lib/oci/bds/models/patch_summary.rb +165 -0
  266. data/lib/oci/bds/models/remove_node_details.rb +186 -0
  267. data/lib/oci/bds/models/schedule_based_horizontal_scaling_policy_details.rb +182 -0
  268. data/lib/oci/bds/models/schedule_based_vertical_scaling_policy_details.rb +182 -0
  269. data/lib/oci/bds/models/schedule_type.rb +10 -0
  270. data/lib/oci/bds/models/shape_config_details.rb +164 -0
  271. data/lib/oci/bds/models/time_and_horizontal_scaling_config.rb +169 -0
  272. data/lib/oci/bds/models/time_and_vertical_scaling_config.rb +200 -0
  273. data/lib/oci/bds/models/update_auto_scale_policy_details.rb +173 -0
  274. data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +17 -4
  275. data/lib/oci/bds/models/update_bds_instance_details.rb +15 -1
  276. data/lib/oci/bds/models/update_metric_based_horizontal_scaling_policy_details.rb +177 -0
  277. data/lib/oci/bds/models/update_metric_based_vertical_scaling_policy_details.rb +177 -0
  278. data/lib/oci/bds/models/update_schedule_based_horizontal_scaling_policy_details.rb +174 -0
  279. data/lib/oci/bds/models/update_schedule_based_vertical_scaling_policy_details.rb +174 -0
  280. data/lib/oci/bds/models/vertical_scaling_schedule_details.rb +170 -0
  281. data/lib/oci/bds/models/work_request.rb +6 -0
  282. data/lib/oci/budget/budget.rb +1 -0
  283. data/lib/oci/budget/budget_client.rb +30 -32
  284. data/lib/oci/budget/budget_client_composite_operations.rb +6 -6
  285. data/lib/oci/budget/models/alert_rule.rb +12 -12
  286. data/lib/oci/budget/models/alert_rule_summary.rb +11 -11
  287. data/lib/oci/budget/models/budget.rb +49 -15
  288. data/lib/oci/budget/models/budget_summary.rb +51 -17
  289. data/lib/oci/budget/models/create_alert_rule_details.rb +8 -8
  290. data/lib/oci/budget/models/create_budget_details.rb +39 -11
  291. data/lib/oci/budget/models/processing_period_type.rb +11 -0
  292. data/lib/oci/budget/models/update_alert_rule_details.rb +9 -9
  293. data/lib/oci/budget/models/update_budget_details.rb +30 -2
  294. data/lib/oci/cloud_guard/cloud_guard.rb +53 -0
  295. data/lib/oci/cloud_guard/cloud_guard_client.rb +2392 -270
  296. data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +318 -0
  297. data/lib/oci/cloud_guard/models/add_compartment_details.rb +155 -0
  298. data/lib/oci/cloud_guard/models/change_security_policy_compartment_details.rb +156 -0
  299. data/lib/oci/cloud_guard/models/change_security_recipe_compartment_details.rb +156 -0
  300. data/lib/oci/cloud_guard/models/change_security_zone_compartment_details.rb +156 -0
  301. data/lib/oci/cloud_guard/models/classification_status.rb +14 -0
  302. data/lib/oci/cloud_guard/models/condition_type_enum.rb +2 -1
  303. data/lib/oci/cloud_guard/models/confidence.rb +14 -0
  304. data/lib/oci/cloud_guard/models/create_data_mask_rule_details.rb +8 -2
  305. data/lib/oci/cloud_guard/models/create_detector_recipe_details.rb +10 -2
  306. data/lib/oci/cloud_guard/models/create_managed_list_details.rb +10 -2
  307. data/lib/oci/cloud_guard/models/create_responder_recipe_details.rb +10 -2
  308. data/lib/oci/cloud_guard/models/create_security_policy_details.rb +246 -0
  309. data/lib/oci/cloud_guard/models/create_security_recipe_details.rb +226 -0
  310. data/lib/oci/cloud_guard/models/create_security_zone_details.rb +226 -0
  311. data/lib/oci/cloud_guard/models/create_target_details.rb +11 -2
  312. data/lib/oci/cloud_guard/models/data_mask_rule.rb +4 -2
  313. data/lib/oci/cloud_guard/models/data_mask_rule_summary.rb +2 -0
  314. data/lib/oci/cloud_guard/models/detector_details.rb +47 -5
  315. data/lib/oci/cloud_guard/models/detector_enum.rb +2 -1
  316. data/lib/oci/cloud_guard/models/detector_recipe.rb +20 -3
  317. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +4 -3
  318. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +1 -0
  319. data/lib/oci/cloud_guard/models/detector_recipe_summary.rb +18 -1
  320. data/lib/oci/cloud_guard/models/detector_rule.rb +4 -3
  321. data/lib/oci/cloud_guard/models/detector_rule_summary.rb +1 -0
  322. data/lib/oci/cloud_guard/models/managed_list.rb +4 -2
  323. data/lib/oci/cloud_guard/models/managed_list_summary.rb +2 -0
  324. data/lib/oci/cloud_guard/models/problem.rb +72 -1
  325. data/lib/oci/cloud_guard/models/problem_category_enum.rb +10 -0
  326. data/lib/oci/cloud_guard/models/problem_endpoint_collection.rb +150 -0
  327. data/lib/oci/cloud_guard/models/problem_endpoint_summary.rb +326 -0
  328. data/lib/oci/cloud_guard/models/problem_summary.rb +16 -1
  329. data/lib/oci/cloud_guard/models/remove_compartment_details.rb +155 -0
  330. data/lib/oci/cloud_guard/models/request_summarized_trend_resource_risk_scores_details.rb +177 -0
  331. data/lib/oci/cloud_guard/models/resource_profile.rb +361 -0
  332. data/lib/oci/cloud_guard/models/resource_profile_collection.rb +150 -0
  333. data/lib/oci/cloud_guard/models/resource_profile_endpoint_collection.rb +150 -0
  334. data/lib/oci/cloud_guard/models/resource_profile_endpoint_summary.rb +326 -0
  335. data/lib/oci/cloud_guard/models/resource_profile_impacted_resource_collection.rb +150 -0
  336. data/lib/oci/cloud_guard/models/resource_profile_impacted_resource_summary.rb +286 -0
  337. data/lib/oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary.rb +192 -0
  338. data/lib/oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary_collection.rb +150 -0
  339. data/lib/oci/cloud_guard/models/resource_profile_summary.rb +268 -0
  340. data/lib/oci/cloud_guard/models/resource_risk_score_aggregation.rb +215 -0
  341. data/lib/oci/cloud_guard/models/resource_risk_score_aggregation_collection.rb +192 -0
  342. data/lib/oci/cloud_guard/models/resource_risk_score_dimension.rb +11 -0
  343. data/lib/oci/cloud_guard/models/responder_recipe.rb +4 -2
  344. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule.rb +2 -2
  345. data/lib/oci/cloud_guard/models/responder_recipe_summary.rb +4 -2
  346. data/lib/oci/cloud_guard/models/security_policy.rb +385 -0
  347. data/lib/oci/cloud_guard/models/security_policy_collection.rb +150 -0
  348. data/lib/oci/cloud_guard/models/security_policy_summary.rb +385 -0
  349. data/lib/oci/cloud_guard/models/security_recipe.rb +365 -0
  350. data/lib/oci/cloud_guard/models/security_recipe_collection.rb +150 -0
  351. data/lib/oci/cloud_guard/models/security_recipe_summary.rb +365 -0
  352. data/lib/oci/cloud_guard/models/security_zone.rb +364 -0
  353. data/lib/oci/cloud_guard/models/security_zone_collection.rb +150 -0
  354. data/lib/oci/cloud_guard/models/security_zone_summary.rb +336 -0
  355. data/lib/oci/cloud_guard/models/security_zone_target_details.rb +190 -0
  356. data/lib/oci/cloud_guard/models/severity.rb +14 -0
  357. data/lib/oci/cloud_guard/models/sighting.rb +453 -0
  358. data/lib/oci/cloud_guard/models/sighting_collection.rb +150 -0
  359. data/lib/oci/cloud_guard/models/sighting_endpoint_collection.rb +150 -0
  360. data/lib/oci/cloud_guard/models/sighting_endpoint_summary.rb +298 -0
  361. data/lib/oci/cloud_guard/models/sighting_impacted_resource_collection.rb +150 -0
  362. data/lib/oci/cloud_guard/models/sighting_impacted_resource_summary.rb +258 -0
  363. data/lib/oci/cloud_guard/models/sighting_summary.rb +443 -0
  364. data/lib/oci/cloud_guard/models/sighting_type.rb +208 -0
  365. data/lib/oci/cloud_guard/models/tactic_collection.rb +150 -0
  366. data/lib/oci/cloud_guard/models/tactic_summary.rb +164 -0
  367. data/lib/oci/cloud_guard/models/target.rb +19 -3
  368. data/lib/oci/cloud_guard/models/target_details.rb +192 -0
  369. data/lib/oci/cloud_guard/models/target_detector_details.rb +47 -5
  370. data/lib/oci/cloud_guard/models/target_detector_recipe.rb +21 -6
  371. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +4 -3
  372. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +1 -0
  373. data/lib/oci/cloud_guard/models/target_detector_recipe_summary.rb +19 -4
  374. data/lib/oci/cloud_guard/models/target_resource_type.rb +2 -1
  375. data/lib/oci/cloud_guard/models/target_resource_types_selected.rb +1 -0
  376. data/lib/oci/cloud_guard/models/target_responder_recipe.rb +4 -4
  377. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule.rb +3 -3
  378. data/lib/oci/cloud_guard/models/target_summary.rb +3 -0
  379. data/lib/oci/cloud_guard/models/technique_collection.rb +150 -0
  380. data/lib/oci/cloud_guard/models/technique_summary.rb +164 -0
  381. data/lib/oci/cloud_guard/models/update_data_mask_rule_details.rb +6 -1
  382. data/lib/oci/cloud_guard/models/update_detector_recipe_details.rb +10 -2
  383. data/lib/oci/cloud_guard/models/update_detector_rule_details.rb +1 -1
  384. data/lib/oci/cloud_guard/models/update_managed_list_details.rb +8 -2
  385. data/lib/oci/cloud_guard/models/update_responder_recipe_details.rb +10 -2
  386. data/lib/oci/cloud_guard/models/update_security_policy_details.rb +188 -0
  387. data/lib/oci/cloud_guard/models/update_security_recipe_details.rb +212 -0
  388. data/lib/oci/cloud_guard/models/update_security_zone_details.rb +212 -0
  389. data/lib/oci/cloud_guard/models/update_target_details.rb +6 -1
  390. data/lib/oci/cloud_guard/models/update_target_detector_recipe_details.rb +32 -2
  391. data/lib/oci/container_engine/container_engine.rb +8 -0
  392. data/lib/oci/container_engine/container_engine_client.rb +96 -0
  393. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
  394. data/lib/oci/container_engine/models/cluster.rb +18 -4
  395. data/lib/oci/container_engine/models/cluster_endpoints.rb +20 -4
  396. data/lib/oci/container_engine/models/cluster_options.rb +18 -4
  397. data/lib/oci/container_engine/models/cluster_pod_network_option_details.rb +191 -0
  398. data/lib/oci/container_engine/models/cluster_summary.rb +18 -4
  399. data/lib/oci/container_engine/models/create_cluster_details.rb +18 -4
  400. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +2 -1
  401. data/lib/oci/container_engine/models/create_node_pool_details.rb +18 -5
  402. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +19 -4
  403. data/lib/oci/container_engine/models/flannel_overlay_cluster_pod_network_option_details.rb +145 -0
  404. data/lib/oci/container_engine/models/flannel_overlay_node_pool_pod_network_option_details.rb +145 -0
  405. data/lib/oci/container_engine/models/node_eviction_node_pool_settings.rb +172 -0
  406. data/lib/oci/container_engine/models/node_pool.rb +71 -4
  407. data/lib/oci/container_engine/models/node_pool_lifecycle_state.rb +17 -0
  408. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +19 -4
  409. data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +19 -4
  410. data/lib/oci/container_engine/models/node_pool_pod_network_option_details.rb +191 -0
  411. data/lib/oci/container_engine/models/node_pool_summary.rb +71 -4
  412. data/lib/oci/container_engine/models/oci_vcn_ip_native_cluster_pod_network_option_details.rb +145 -0
  413. data/lib/oci/container_engine/models/oci_vcn_ip_native_node_pool_pod_network_option_details.rb +195 -0
  414. data/lib/oci/container_engine/models/update_node_pool_details.rb +17 -4
  415. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +19 -4
  416. data/lib/oci/core/blockstorage_client.rb +1 -1
  417. data/lib/oci/core/compute_client.rb +17 -6
  418. data/lib/oci/core/compute_client_composite_operations.rb +1 -1
  419. data/lib/oci/core/core.rb +33 -0
  420. data/lib/oci/core/models/add_drg_route_distribution_statement_details.rb +0 -1
  421. data/lib/oci/core/models/add_subnet_ipv6_cidr_details.rb +159 -0
  422. data/lib/oci/core/models/add_vcn_cidr_details.rb +1 -1
  423. data/lib/oci/core/models/add_vcn_ipv6_cidr_details.rb +188 -0
  424. data/lib/oci/core/models/allowed_ike_ip_sec_parameters.rb +1 -1
  425. data/lib/oci/core/models/allowed_phase_one_parameters.rb +4 -4
  426. data/lib/oci/core/models/allowed_phase_two_parameters.rb +4 -4
  427. data/lib/oci/core/models/amd_milan_bm_launch_instance_platform_config.rb +103 -6
  428. data/lib/oci/core/models/amd_milan_bm_platform_config.rb +103 -6
  429. data/lib/oci/core/models/amd_rome_bm_gpu_launch_instance_platform_config.rb +270 -0
  430. data/lib/oci/core/models/amd_rome_bm_gpu_platform_config.rb +277 -0
  431. data/lib/oci/core/models/amd_rome_bm_launch_instance_platform_config.rb +138 -5
  432. data/lib/oci/core/models/amd_rome_bm_platform_config.rb +144 -5
  433. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +3 -3
  434. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +19 -4
  435. data/lib/oci/core/models/boot_volume.rb +3 -1
  436. data/lib/oci/core/models/byoip_range.rb +35 -3
  437. data/lib/oci/core/models/byoip_range_summary.rb +33 -1
  438. data/lib/oci/core/models/byoip_range_vcn_ipv6_allocation_summary.rb +201 -0
  439. data/lib/oci/core/models/byoipv6_cidr_details.rb +175 -0
  440. data/lib/oci/core/models/capture_filter.rb +321 -0
  441. data/lib/oci/core/models/change_capture_filter_compartment_details.rb +157 -0
  442. data/lib/oci/core/models/change_vtap_compartment_details.rb +155 -0
  443. data/lib/oci/core/models/compartment_internal.rb +151 -0
  444. data/lib/oci/core/models/copy_volume_group_backup_details.rb +2 -2
  445. data/lib/oci/core/models/create_boot_volume_details.rb +3 -1
  446. data/lib/oci/core/models/create_byoip_range_details.rb +17 -2
  447. data/lib/oci/core/models/create_capture_filter_details.rb +249 -0
  448. data/lib/oci/core/models/create_drg_attachment_details.rb +5 -5
  449. data/lib/oci/core/models/create_drg_details.rb +1 -1
  450. data/lib/oci/core/models/create_drg_route_table_details.rb +1 -1
  451. data/lib/oci/core/models/create_internet_gateway_details.rb +1 -1
  452. data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +12 -3
  453. data/lib/oci/core/models/create_ipv6_details.rb +19 -4
  454. data/lib/oci/core/models/create_subnet_details.rb +19 -1
  455. data/lib/oci/core/models/create_vcn_details.rb +55 -1
  456. data/lib/oci/core/models/create_virtual_circuit_details.rb +46 -1
  457. data/lib/oci/core/models/create_volume_details.rb +3 -1
  458. data/lib/oci/core/models/create_vtap_details.rb +476 -0
  459. data/lib/oci/core/models/cross_connect.rb +35 -4
  460. data/lib/oci/core/models/cross_connect_group.rb +35 -4
  461. data/lib/oci/core/models/cross_connect_mapping_details.rb +19 -4
  462. data/lib/oci/core/models/default_drg_route_tables.rb +1 -1
  463. data/lib/oci/core/models/default_phase_one_parameters.rb +4 -4
  464. data/lib/oci/core/models/default_phase_two_parameters.rb +4 -4
  465. data/lib/oci/core/models/dpd_config.rb +6 -3
  466. data/lib/oci/core/models/drg.rb +6 -6
  467. data/lib/oci/core/models/drg_attachment.rb +7 -7
  468. data/lib/oci/core/models/drg_attachment_match_all_drg_route_distribution_match_criteria.rb +146 -0
  469. data/lib/oci/core/models/drg_attachment_network_create_details.rb +1 -1
  470. data/lib/oci/core/models/drg_redundancy_status.rb +1 -1
  471. data/lib/oci/core/models/drg_route_distribution.rb +2 -2
  472. data/lib/oci/core/models/drg_route_distribution_match_criteria.rb +3 -1
  473. data/lib/oci/core/models/drg_route_rule.rb +1 -1
  474. data/lib/oci/core/models/drg_route_table.rb +3 -3
  475. data/lib/oci/core/models/i_scsi_volume_attachment.rb +19 -4
  476. data/lib/oci/core/models/instance_configuration_amd_milan_bm_launch_instance_platform_config.rb +104 -7
  477. data/lib/oci/core/models/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.rb +277 -0
  478. data/lib/oci/core/models/instance_configuration_amd_rome_bm_launch_instance_platform_config.rb +145 -5
  479. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +3 -1
  480. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +29 -4
  481. data/lib/oci/core/models/instance_configuration_intel_icelake_bm_launch_instance_platform_config.rb +260 -0
  482. data/lib/oci/core/models/instance_configuration_intel_skylake_bm_launch_instance_platform_config.rb +2 -1
  483. data/lib/oci/core/models/instance_configuration_launch_instance_platform_config.rb +4 -0
  484. data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +15 -4
  485. data/lib/oci/core/models/instance_power_action_details.rb +172 -0
  486. data/lib/oci/core/models/instance_source_via_image_details.rb +31 -4
  487. data/lib/oci/core/models/intel_icelake_bm_launch_instance_platform_config.rb +253 -0
  488. data/lib/oci/core/models/intel_icelake_bm_platform_config.rb +260 -0
  489. data/lib/oci/core/models/intel_skylake_bm_launch_instance_platform_config.rb +2 -1
  490. data/lib/oci/core/models/intel_skylake_bm_platform_config.rb +2 -1
  491. data/lib/oci/core/models/internet_gateway.rb +1 -1
  492. data/lib/oci/core/models/ip_sec_connection.rb +2 -2
  493. data/lib/oci/core/models/ip_sec_connection_tunnel.rb +26 -11
  494. data/lib/oci/core/models/ip_sec_connection_tunnel_error_details.rb +7 -7
  495. data/lib/oci/core/models/launch_instance_platform_config.rb +10 -0
  496. data/lib/oci/core/models/launch_instance_shape_config_details.rb +15 -4
  497. data/lib/oci/core/models/percentage_of_cores_enabled_options.rb +178 -0
  498. data/lib/oci/core/models/phase_one_config_details.rb +7 -6
  499. data/lib/oci/core/models/phase_two_config_details.rb +7 -6
  500. data/lib/oci/core/models/platform_config.rb +4 -0
  501. data/lib/oci/core/models/public_ip_pool.rb +3 -1
  502. data/lib/oci/core/models/reboot_migrate_action_details.rb +185 -0
  503. data/lib/oci/core/models/remove_subnet_ipv6_cidr_details.rb +159 -0
  504. data/lib/oci/core/models/remove_vcn_ipv6_cidr_details.rb +160 -0
  505. data/lib/oci/core/models/reset_action_details.rb +178 -0
  506. data/lib/oci/core/models/route_table.rb +1 -1
  507. data/lib/oci/core/models/shape.rb +181 -4
  508. data/lib/oci/core/models/shape_access_control_service_enabled_platform_options.rb +171 -0
  509. data/lib/oci/core/models/shape_alternative_object.rb +156 -0
  510. data/lib/oci/core/models/shape_input_output_memory_management_unit_enabled_platform_options.rb +171 -0
  511. data/lib/oci/core/models/shape_platform_config_options.rb +71 -4
  512. data/lib/oci/core/models/shape_symmetric_multi_threading_enabled_platform_options.rb +171 -0
  513. data/lib/oci/core/models/shape_virtual_instructions_enabled_platform_options.rb +171 -0
  514. data/lib/oci/core/models/soft_reset_action_details.rb +178 -0
  515. data/lib/oci/core/models/subnet.rb +16 -1
  516. data/lib/oci/core/models/topology.rb +2 -1
  517. data/lib/oci/core/models/tunnel_phase_one_details.rb +9 -10
  518. data/lib/oci/core/models/tunnel_phase_two_details.rb +12 -10
  519. data/lib/oci/core/models/tunnel_route_summary.rb +7 -6
  520. data/lib/oci/core/models/tunnel_security_association_summary.rb +8 -6
  521. data/lib/oci/core/models/update_boot_volume_details.rb +3 -1
  522. data/lib/oci/core/models/update_capture_filter_details.rb +208 -0
  523. data/lib/oci/core/models/update_drg_attachment_details.rb +2 -2
  524. data/lib/oci/core/models/update_drg_route_distribution_statement_details.rb +0 -1
  525. data/lib/oci/core/models/update_instance_shape_config_details.rb +15 -4
  526. data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +12 -3
  527. data/lib/oci/core/models/update_subnet_details.rb +22 -4
  528. data/lib/oci/core/models/update_virtual_circuit_details.rb +46 -1
  529. data/lib/oci/core/models/update_volume_details.rb +3 -1
  530. data/lib/oci/core/models/update_vtap_details.rb +448 -0
  531. data/lib/oci/core/models/vcn.rb +31 -1
  532. data/lib/oci/core/models/vcn_drg_attachment_network_create_details.rb +23 -5
  533. data/lib/oci/core/models/vcn_drg_attachment_network_details.rb +43 -5
  534. data/lib/oci/core/models/vcn_drg_attachment_network_update_details.rb +21 -5
  535. data/lib/oci/core/models/virtual_circuit.rb +52 -1
  536. data/lib/oci/core/models/volume.rb +3 -1
  537. data/lib/oci/core/models/vtap.rb +601 -0
  538. data/lib/oci/core/models/vtap_capture_filter_rule_details.rb +294 -0
  539. data/lib/oci/core/virtual_network_client.rb +1244 -154
  540. data/lib/oci/core/virtual_network_client_composite_operations.rb +527 -31
  541. data/lib/oci/data_catalog/data_catalog_client.rb +2 -3
  542. data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
  543. data/lib/oci/data_catalog/models/create_folder_details.rb +18 -4
  544. data/lib/oci/data_catalog/models/create_job_details.rb +2 -3
  545. data/lib/oci/data_catalog/models/entity.rb +15 -1
  546. data/lib/oci/data_catalog/models/entity_summary.rb +15 -1
  547. data/lib/oci/data_catalog/models/folder.rb +18 -4
  548. data/lib/oci/data_catalog/models/folder_summary.rb +30 -1
  549. data/lib/oci/data_catalog/models/job.rb +2 -3
  550. data/lib/oci/data_catalog/models/job_summary.rb +2 -3
  551. data/lib/oci/data_catalog/models/update_job_details.rb +2 -3
  552. data/lib/oci/data_catalog/models/work_request.rb +4 -0
  553. data/lib/oci/data_connectivity/data_connectivity.rb +230 -0
  554. data/lib/oci/data_connectivity/data_connectivity_management_client.rb +4234 -0
  555. data/lib/oci/data_connectivity/data_connectivity_management_client_composite_operations.rb +470 -0
  556. data/lib/oci/data_connectivity/models/abstract_call_attribute.rb +182 -0
  557. data/lib/oci/data_connectivity/models/abstract_data_operation_config.rb +184 -0
  558. data/lib/oci/data_connectivity/models/abstract_format_attribute.rb +195 -0
  559. data/lib/oci/data_connectivity/models/abstract_read_attribute.rb +193 -0
  560. data/lib/oci/data_connectivity/models/abstract_write_attribute.rb +197 -0
  561. data/lib/oci/data_connectivity/models/aggregator_summary.rb +190 -0
  562. data/lib/oci/data_connectivity/models/attach_data_asset_info.rb +154 -0
  563. data/lib/oci/data_connectivity/models/attribute.rb +235 -0
  564. data/lib/oci/data_connectivity/models/attribute_profile_result.rb +262 -0
  565. data/lib/oci/data_connectivity/models/avro_format_attribute.rb +158 -0
  566. data/lib/oci/data_connectivity/models/base_type.rb +268 -0
  567. data/lib/oci/data_connectivity/models/bicc_read_attributes.rb +237 -0
  568. data/lib/oci/data_connectivity/models/bip_call_attribute.rb +230 -0
  569. data/lib/oci/data_connectivity/models/call_operation_config.rb +195 -0
  570. data/lib/oci/data_connectivity/models/change_endpoint_compartment_details.rb +154 -0
  571. data/lib/oci/data_connectivity/models/change_registry_compartment_details.rb +154 -0
  572. data/lib/oci/data_connectivity/models/column.rb +164 -0
  573. data/lib/oci/data_connectivity/models/composite_type.rb +208 -0
  574. data/lib/oci/data_connectivity/models/compression.rb +176 -0
  575. data/lib/oci/data_connectivity/models/config_definition.rb +243 -0
  576. data/lib/oci/data_connectivity/models/config_parameter_definition.rb +233 -0
  577. data/lib/oci/data_connectivity/models/config_parameter_value.rb +210 -0
  578. data/lib/oci/data_connectivity/models/config_values.rb +167 -0
  579. data/lib/oci/data_connectivity/models/configured_type.rb +212 -0
  580. data/lib/oci/data_connectivity/models/connection.rb +322 -0
  581. data/lib/oci/data_connectivity/models/connection_property.rb +160 -0
  582. data/lib/oci/data_connectivity/models/connection_summary.rb +322 -0
  583. data/lib/oci/data_connectivity/models/connection_summary_collection.rb +150 -0
  584. data/lib/oci/data_connectivity/models/connection_validation.rb +306 -0
  585. data/lib/oci/data_connectivity/models/connection_validation_summary.rb +303 -0
  586. data/lib/oci/data_connectivity/models/connection_validation_summary_collection.rb +150 -0
  587. data/lib/oci/data_connectivity/models/connectivity_validation.rb +210 -0
  588. data/lib/oci/data_connectivity/models/connector_attribute.rb +182 -0
  589. data/lib/oci/data_connectivity/models/create_attach_data_asset_details.rb +154 -0
  590. data/lib/oci/data_connectivity/models/create_connection_details.rb +321 -0
  591. data/lib/oci/data_connectivity/models/create_connection_validation_details.rb +175 -0
  592. data/lib/oci/data_connectivity/models/create_connectivity_validation_details.rb +330 -0
  593. data/lib/oci/data_connectivity/models/create_data_asset_details.rb +346 -0
  594. data/lib/oci/data_connectivity/models/create_data_preview_details.rb +197 -0
  595. data/lib/oci/data_connectivity/models/create_data_profile_details.rb +210 -0
  596. data/lib/oci/data_connectivity/models/create_de_reference_artifact_details.rb +154 -0
  597. data/lib/oci/data_connectivity/models/create_detach_data_asset_details.rb +154 -0
  598. data/lib/oci/data_connectivity/models/create_dp_endpoint_details.rb +293 -0
  599. data/lib/oci/data_connectivity/models/create_dp_endpoint_from_private.rb +291 -0
  600. data/lib/oci/data_connectivity/models/create_dp_endpoint_from_public.rb +181 -0
  601. data/lib/oci/data_connectivity/models/create_endpoint_details.rb +282 -0
  602. data/lib/oci/data_connectivity/models/create_entity_shape_details.rb +420 -0
  603. data/lib/oci/data_connectivity/models/create_entity_shape_from_data_store.rb +213 -0
  604. data/lib/oci/data_connectivity/models/create_entity_shape_from_file.rb +229 -0
  605. data/lib/oci/data_connectivity/models/create_entity_shape_from_sql.rb +230 -0
  606. data/lib/oci/data_connectivity/models/create_entity_shape_from_table.rb +213 -0
  607. data/lib/oci/data_connectivity/models/create_entity_shape_from_view.rb +213 -0
  608. data/lib/oci/data_connectivity/models/create_execute_operation_job_details.rb +176 -0
  609. data/lib/oci/data_connectivity/models/create_folder_details.rb +263 -0
  610. data/lib/oci/data_connectivity/models/create_full_push_down_task_details.rb +172 -0
  611. data/lib/oci/data_connectivity/models/create_reference_artifact_details.rb +154 -0
  612. data/lib/oci/data_connectivity/models/create_registry_details.rb +210 -0
  613. data/lib/oci/data_connectivity/models/create_test_network_connectivity_details.rb +154 -0
  614. data/lib/oci/data_connectivity/models/csv_format_attribute.rb +238 -0
  615. data/lib/oci/data_connectivity/models/data_asset.rb +347 -0
  616. data/lib/oci/data_connectivity/models/data_asset_summary.rb +347 -0
  617. data/lib/oci/data_connectivity/models/data_asset_summary_collection.rb +150 -0
  618. data/lib/oci/data_connectivity/models/data_entity.rb +206 -0
  619. data/lib/oci/data_connectivity/models/data_entity_details.rb +190 -0
  620. data/lib/oci/data_connectivity/models/data_entity_from_data_store.rb +443 -0
  621. data/lib/oci/data_connectivity/models/data_entity_from_data_store_entity_details.rb +432 -0
  622. data/lib/oci/data_connectivity/models/data_entity_from_file.rb +390 -0
  623. data/lib/oci/data_connectivity/models/data_entity_from_file_entity_details.rb +379 -0
  624. data/lib/oci/data_connectivity/models/data_entity_from_sql.rb +390 -0
  625. data/lib/oci/data_connectivity/models/data_entity_from_sql_entity_details.rb +379 -0
  626. data/lib/oci/data_connectivity/models/data_entity_from_table.rb +377 -0
  627. data/lib/oci/data_connectivity/models/data_entity_from_table_entity_details.rb +366 -0
  628. data/lib/oci/data_connectivity/models/data_entity_from_view.rb +377 -0
  629. data/lib/oci/data_connectivity/models/data_entity_from_view_entity_details.rb +366 -0
  630. data/lib/oci/data_connectivity/models/data_entity_summary.rb +206 -0
  631. data/lib/oci/data_connectivity/models/data_entity_summary_collection.rb +150 -0
  632. data/lib/oci/data_connectivity/models/data_entity_summary_from_data_store.rb +443 -0
  633. data/lib/oci/data_connectivity/models/data_entity_summary_from_file.rb +390 -0
  634. data/lib/oci/data_connectivity/models/data_entity_summary_from_sql.rb +390 -0
  635. data/lib/oci/data_connectivity/models/data_entity_summary_from_table.rb +377 -0
  636. data/lib/oci/data_connectivity/models/data_entity_summary_from_view.rb +377 -0
  637. data/lib/oci/data_connectivity/models/data_format.rb +198 -0
  638. data/lib/oci/data_connectivity/models/data_preview.rb +188 -0
  639. data/lib/oci/data_connectivity/models/data_profile.rb +181 -0
  640. data/lib/oci/data_connectivity/models/data_type.rb +233 -0
  641. data/lib/oci/data_connectivity/models/data_type_stat.rb +181 -0
  642. data/lib/oci/data_connectivity/models/date_attribute.rb +177 -0
  643. data/lib/oci/data_connectivity/models/de_reference_info.rb +300 -0
  644. data/lib/oci/data_connectivity/models/derived_type.rb +169 -0
  645. data/lib/oci/data_connectivity/models/detach_data_asset_info.rb +154 -0
  646. data/lib/oci/data_connectivity/models/dp_endpoint.rb +300 -0
  647. data/lib/oci/data_connectivity/models/dp_endpoint_details.rb +293 -0
  648. data/lib/oci/data_connectivity/models/dp_endpoint_from_private.rb +298 -0
  649. data/lib/oci/data_connectivity/models/dp_endpoint_from_private_details.rb +291 -0
  650. data/lib/oci/data_connectivity/models/dp_endpoint_from_public.rb +181 -0
  651. data/lib/oci/data_connectivity/models/dp_endpoint_from_public_details.rb +181 -0
  652. data/lib/oci/data_connectivity/models/dp_endpoint_summary.rb +293 -0
  653. data/lib/oci/data_connectivity/models/dp_endpoint_summary_from_private.rb +291 -0
  654. data/lib/oci/data_connectivity/models/dp_endpoint_summary_from_public.rb +181 -0
  655. data/lib/oci/data_connectivity/models/endpoint.rb +382 -0
  656. data/lib/oci/data_connectivity/models/endpoint_summary.rb +276 -0
  657. data/lib/oci/data_connectivity/models/endpoint_summary_collection.rb +150 -0
  658. data/lib/oci/data_connectivity/models/entity_profile_result.rb +182 -0
  659. data/lib/oci/data_connectivity/models/entity_shape.rb +206 -0
  660. data/lib/oci/data_connectivity/models/entity_shape_from_data_store.rb +390 -0
  661. data/lib/oci/data_connectivity/models/entity_shape_from_file.rb +390 -0
  662. data/lib/oci/data_connectivity/models/entity_shape_from_sql.rb +403 -0
  663. data/lib/oci/data_connectivity/models/entity_shape_from_table.rb +390 -0
  664. data/lib/oci/data_connectivity/models/entity_shape_from_view.rb +390 -0
  665. data/lib/oci/data_connectivity/models/error_details.rb +162 -0
  666. data/lib/oci/data_connectivity/models/execute_operation_job.rb +210 -0
  667. data/lib/oci/data_connectivity/models/execute_operation_job_details.rb +198 -0
  668. data/lib/oci/data_connectivity/models/external_storage.rb +221 -0
  669. data/lib/oci/data_connectivity/models/filter_push.rb +162 -0
  670. data/lib/oci/data_connectivity/models/folder.rb +264 -0
  671. data/lib/oci/data_connectivity/models/folder_summary.rb +264 -0
  672. data/lib/oci/data_connectivity/models/folder_summary_collection.rb +150 -0
  673. data/lib/oci/data_connectivity/models/foreign_key.rb +265 -0
  674. data/lib/oci/data_connectivity/models/full_push_down_task_response.rb +178 -0
  675. data/lib/oci/data_connectivity/models/hdfs_write_attributes.rb +164 -0
  676. data/lib/oci/data_connectivity/models/histogram.rb +160 -0
  677. data/lib/oci/data_connectivity/models/input_port.rb +221 -0
  678. data/lib/oci/data_connectivity/models/join.rb +190 -0
  679. data/lib/oci/data_connectivity/models/json_format_attribute.rb +158 -0
  680. data/lib/oci/data_connectivity/models/key.rb +189 -0
  681. data/lib/oci/data_connectivity/models/key_attribute.rb +159 -0
  682. data/lib/oci/data_connectivity/models/key_range.rb +159 -0
  683. data/lib/oci/data_connectivity/models/key_range_partition_config.rb +175 -0
  684. data/lib/oci/data_connectivity/models/message.rb +191 -0
  685. data/lib/oci/data_connectivity/models/native_shape_field.rb +224 -0
  686. data/lib/oci/data_connectivity/models/network_connectivity_status.rb +231 -0
  687. data/lib/oci/data_connectivity/models/network_connectivity_status_collection.rb +154 -0
  688. data/lib/oci/data_connectivity/models/numeric_attribute.rb +252 -0
  689. data/lib/oci/data_connectivity/models/object_freq_stat.rb +184 -0
  690. data/lib/oci/data_connectivity/models/object_metadata.rb +315 -0
  691. data/lib/oci/data_connectivity/models/object_storage_write_attributes.rb +164 -0
  692. data/lib/oci/data_connectivity/models/operation.rb +198 -0
  693. data/lib/oci/data_connectivity/models/operation_exec_result.rb +228 -0
  694. data/lib/oci/data_connectivity/models/operation_from_procedure.rb +264 -0
  695. data/lib/oci/data_connectivity/models/operation_input_record.rb +154 -0
  696. data/lib/oci/data_connectivity/models/operation_summary.rb +198 -0
  697. data/lib/oci/data_connectivity/models/operation_summary_collection.rb +150 -0
  698. data/lib/oci/data_connectivity/models/operation_summary_from_procedure.rb +255 -0
  699. data/lib/oci/data_connectivity/models/oracle_adwc_write_attributes.rb +201 -0
  700. data/lib/oci/data_connectivity/models/oracle_atp_write_attributes.rb +201 -0
  701. data/lib/oci/data_connectivity/models/oracle_read_attribute.rb +162 -0
  702. data/lib/oci/data_connectivity/models/oracle_read_attributes.rb +162 -0
  703. data/lib/oci/data_connectivity/models/oracle_write_attributes.rb +190 -0
  704. data/lib/oci/data_connectivity/models/outlier.rb +188 -0
  705. data/lib/oci/data_connectivity/models/output_port.rb +221 -0
  706. data/lib/oci/data_connectivity/models/parameter.rb +291 -0
  707. data/lib/oci/data_connectivity/models/parent_reference.rb +150 -0
  708. data/lib/oci/data_connectivity/models/parquet_format_attribute.rb +158 -0
  709. data/lib/oci/data_connectivity/models/partition_config.rb +189 -0
  710. data/lib/oci/data_connectivity/models/primary_key.rb +169 -0
  711. data/lib/oci/data_connectivity/models/profile_config.rb +240 -0
  712. data/lib/oci/data_connectivity/models/profile_stat.rb +160 -0
  713. data/lib/oci/data_connectivity/models/push_down_operation.rb +197 -0
  714. data/lib/oci/data_connectivity/models/query.rb +158 -0
  715. data/lib/oci/data_connectivity/models/read_operation_config.rb +263 -0
  716. data/lib/oci/data_connectivity/models/reference_artifact_summary.rb +300 -0
  717. data/lib/oci/data_connectivity/models/reference_artifact_summary_collection.rb +150 -0
  718. data/lib/oci/data_connectivity/models/reference_info.rb +300 -0
  719. data/lib/oci/data_connectivity/models/registry.rb +324 -0
  720. data/lib/oci/data_connectivity/models/registry_metadata.rb +288 -0
  721. data/lib/oci/data_connectivity/models/registry_summary.rb +290 -0
  722. data/lib/oci/data_connectivity/models/registry_summary_collection.rb +150 -0
  723. data/lib/oci/data_connectivity/models/row.rb +150 -0
  724. data/lib/oci/data_connectivity/models/schema.rb +314 -0
  725. data/lib/oci/data_connectivity/models/schema_drift_config.rb +265 -0
  726. data/lib/oci/data_connectivity/models/schema_summary.rb +311 -0
  727. data/lib/oci/data_connectivity/models/schema_summary_collection.rb +150 -0
  728. data/lib/oci/data_connectivity/models/select.rb +176 -0
  729. data/lib/oci/data_connectivity/models/shape.rb +186 -0
  730. data/lib/oci/data_connectivity/models/shape_field.rb +209 -0
  731. data/lib/oci/data_connectivity/models/sort.rb +162 -0
  732. data/lib/oci/data_connectivity/models/sort_clause.rb +179 -0
  733. data/lib/oci/data_connectivity/models/source.rb +288 -0
  734. data/lib/oci/data_connectivity/models/string_attribute.rb +247 -0
  735. data/lib/oci/data_connectivity/models/structured_type.rb +181 -0
  736. data/lib/oci/data_connectivity/models/target.rb +325 -0
  737. data/lib/oci/data_connectivity/models/test_network_connectivity.rb +182 -0
  738. data/lib/oci/data_connectivity/models/type.rb +169 -0
  739. data/lib/oci/data_connectivity/models/type_library.rb +259 -0
  740. data/lib/oci/data_connectivity/models/type_summary.rb +171 -0
  741. data/lib/oci/data_connectivity/models/type_system.rb +287 -0
  742. data/lib/oci/data_connectivity/models/typed_object.rb +280 -0
  743. data/lib/oci/data_connectivity/models/types_summary_collection.rb +150 -0
  744. data/lib/oci/data_connectivity/models/unique_key.rb +265 -0
  745. data/lib/oci/data_connectivity/models/update_connection_details.rb +311 -0
  746. data/lib/oci/data_connectivity/models/update_data_asset_details.rb +336 -0
  747. data/lib/oci/data_connectivity/models/update_dp_endpoint_details.rb +293 -0
  748. data/lib/oci/data_connectivity/models/update_dp_endpoint_from_private.rb +291 -0
  749. data/lib/oci/data_connectivity/models/update_dp_endpoint_from_public.rb +181 -0
  750. data/lib/oci/data_connectivity/models/update_endpoint_details.rb +224 -0
  751. data/lib/oci/data_connectivity/models/update_folder_details.rb +263 -0
  752. data/lib/oci/data_connectivity/models/update_registry_details.rb +196 -0
  753. data/lib/oci/data_connectivity/models/validation_message.rb +164 -0
  754. data/lib/oci/data_connectivity/models/validation_result.rb +184 -0
  755. data/lib/oci/data_connectivity/models/work_request.rb +308 -0
  756. data/lib/oci/data_connectivity/models/work_request_error.rb +173 -0
  757. data/lib/oci/data_connectivity/models/work_request_error_collection.rb +150 -0
  758. data/lib/oci/data_connectivity/models/work_request_error_summary.rb +169 -0
  759. data/lib/oci/data_connectivity/models/work_request_log.rb +160 -0
  760. data/lib/oci/data_connectivity/models/work_request_log_collection.rb +150 -0
  761. data/lib/oci/data_connectivity/models/work_request_resource.rb +222 -0
  762. data/lib/oci/data_connectivity/models/work_request_summary.rb +305 -0
  763. data/lib/oci/data_connectivity/models/work_request_summary_collection.rb +150 -0
  764. data/lib/oci/data_connectivity/models/write_operation_config.rb +312 -0
  765. data/lib/oci/data_connectivity/network_validation_client.rb +187 -0
  766. data/lib/oci/data_connectivity/network_validation_client_composite_operations.rb +25 -0
  767. data/lib/oci/data_connectivity/util.rb +3 -0
  768. data/lib/oci/data_flow/data_flow.rb +1 -0
  769. data/lib/oci/data_flow/models/application.rb +27 -1
  770. data/lib/oci/data_flow/models/create_application_details.rb +27 -1
  771. data/lib/oci/data_flow/models/create_run_details.rb +27 -1
  772. data/lib/oci/data_flow/models/run.rb +27 -1
  773. data/lib/oci/data_flow/models/shape_config.rb +168 -0
  774. data/lib/oci/data_flow/models/update_application_details.rb +27 -1
  775. data/lib/oci/data_integration/data_integration.rb +36 -0
  776. data/lib/oci/data_integration/data_integration_client.rb +413 -0
  777. data/lib/oci/data_integration/data_integration_client_composite_operations.rb +213 -0
  778. data/lib/oci/data_integration/models/abstract_call_attribute.rb +196 -0
  779. data/lib/oci/data_integration/models/abstract_data_operation_config.rb +45 -4
  780. data/lib/oci/data_integration/models/abstract_formatted_text.rb +153 -0
  781. data/lib/oci/data_integration/models/abstract_read_attribute.rb +2 -0
  782. data/lib/oci/data_integration/models/aggregator.rb +2 -2
  783. data/lib/oci/data_integration/models/application.rb +139 -1
  784. data/lib/oci/data_integration/models/application_details.rb +81 -4
  785. data/lib/oci/data_integration/models/application_summary.rb +139 -1
  786. data/lib/oci/data_integration/models/auth_config.rb +226 -0
  787. data/lib/oci/data_integration/models/auth_details.rb +1 -1
  788. data/lib/oci/data_integration/models/bip_call_attribute.rb +220 -0
  789. data/lib/oci/data_integration/models/bip_read_attributes.rb +257 -0
  790. data/lib/oci/data_integration/models/bip_report_parameter_value.rb +160 -0
  791. data/lib/oci/data_integration/models/change_dis_application_compartment_details.rb +154 -0
  792. data/lib/oci/data_integration/models/child_reference.rb +3 -0
  793. data/lib/oci/data_integration/models/conditional_composite_field_map.rb +244 -0
  794. data/lib/oci/data_integration/models/conditional_output_port.rb +234 -0
  795. data/lib/oci/data_integration/models/connection.rb +2 -0
  796. data/lib/oci/data_integration/models/connection_details.rb +3 -1
  797. data/lib/oci/data_integration/models/connection_from_bip.rb +223 -0
  798. data/lib/oci/data_integration/models/connection_from_bip_details.rb +219 -0
  799. data/lib/oci/data_integration/models/connection_summary.rb +2 -0
  800. data/lib/oci/data_integration/models/connection_summary_from_bip.rb +223 -0
  801. data/lib/oci/data_integration/models/connection_summary_from_object_storage.rb +1 -0
  802. data/lib/oci/data_integration/models/create_application_details.rb +78 -1
  803. data/lib/oci/data_integration/models/create_connection_details.rb +3 -1
  804. data/lib/oci/data_integration/models/create_connection_from_bip.rb +207 -0
  805. data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +45 -6
  806. data/lib/oci/data_integration/models/create_dis_application_details.rb +334 -0
  807. data/lib/oci/data_integration/models/create_task_from_data_loader_task.rb +47 -4
  808. data/lib/oci/data_integration/models/create_task_from_rest_task.rb +44 -4
  809. data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +3 -3
  810. data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +45 -6
  811. data/lib/oci/data_integration/models/data_asset_summary_from_object_storage.rb +1 -0
  812. data/lib/oci/data_integration/models/data_entity.rb +1 -0
  813. data/lib/oci/data_integration/models/dependent_object.rb +140 -1
  814. data/lib/oci/data_integration/models/direct_field_map.rb +29 -3
  815. data/lib/oci/data_integration/models/direct_named_field_map.rb +29 -3
  816. data/lib/oci/data_integration/models/dis_application.rb +478 -0
  817. data/lib/oci/data_integration/models/dis_application_summary.rb +478 -0
  818. data/lib/oci/data_integration/models/dis_application_summary_collection.rb +150 -0
  819. data/lib/oci/data_integration/models/distinct.rb +2 -2
  820. data/lib/oci/data_integration/models/end_operator.rb +2 -2
  821. data/lib/oci/data_integration/models/expression_operator.rb +2 -2
  822. data/lib/oci/data_integration/models/field_map.rb +6 -0
  823. data/lib/oci/data_integration/models/filter.rb +2 -2
  824. data/lib/oci/data_integration/models/flatten.rb +222 -0
  825. data/lib/oci/data_integration/models/flatten_details.rb +196 -0
  826. data/lib/oci/data_integration/models/flatten_projection_preferences.rb +273 -0
  827. data/lib/oci/data_integration/models/function.rb +210 -0
  828. data/lib/oci/data_integration/models/intersect.rb +2 -2
  829. data/lib/oci/data_integration/models/joiner.rb +2 -2
  830. data/lib/oci/data_integration/models/json_text.rb +167 -0
  831. data/lib/oci/data_integration/models/lookup.rb +2 -2
  832. data/lib/oci/data_integration/models/macro_pivot_field.rb +201 -0
  833. data/lib/oci/data_integration/models/merge_operator.rb +2 -2
  834. data/lib/oci/data_integration/models/minus.rb +2 -2
  835. data/lib/oci/data_integration/models/named_entity_map.rb +244 -0
  836. data/lib/oci/data_integration/models/oci_function.rb +207 -0
  837. data/lib/oci/data_integration/models/operator.rb +11 -3
  838. data/lib/oci/data_integration/models/pivot.rb +222 -0
  839. data/lib/oci/data_integration/models/pivot_field.rb +221 -0
  840. data/lib/oci/data_integration/models/pivot_keys.rb +233 -0
  841. data/lib/oci/data_integration/models/poll_rest_call_config.rb +194 -0
  842. data/lib/oci/data_integration/models/projection.rb +2 -2
  843. data/lib/oci/data_integration/models/proxy_field.rb +15 -2
  844. data/lib/oci/data_integration/models/published_object_from_data_loader_task.rb +47 -4
  845. data/lib/oci/data_integration/models/read_operation_config.rb +13 -1
  846. data/lib/oci/data_integration/models/reference.rb +9 -0
  847. data/lib/oci/data_integration/models/reference_summary.rb +9 -0
  848. data/lib/oci/data_integration/models/resource_principal_auth_config.rb +194 -0
  849. data/lib/oci/data_integration/models/rule_based_entity_map.rb +292 -0
  850. data/lib/oci/data_integration/models/rule_type_config.rb +15 -2
  851. data/lib/oci/data_integration/models/scope_reference.rb +207 -0
  852. data/lib/oci/data_integration/models/sort_oper.rb +2 -2
  853. data/lib/oci/data_integration/models/source.rb +2 -2
  854. data/lib/oci/data_integration/models/split.rb +232 -0
  855. data/lib/oci/data_integration/models/start_operator.rb +2 -2
  856. data/lib/oci/data_integration/models/target.rb +68 -6
  857. data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +47 -4
  858. data/lib/oci/data_integration/models/task_from_rest_task_details.rb +44 -4
  859. data/lib/oci/data_integration/models/task_operator.rb +2 -2
  860. data/lib/oci/data_integration/models/task_run_details.rb +11 -1
  861. data/lib/oci/data_integration/models/task_run_summary.rb +11 -1
  862. data/lib/oci/data_integration/models/task_summary_from_data_loader_task.rb +47 -4
  863. data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +30 -4
  864. data/lib/oci/data_integration/models/typed_expression.rb +186 -0
  865. data/lib/oci/data_integration/models/typed_object.rb +6 -0
  866. data/lib/oci/data_integration/models/union.rb +2 -2
  867. data/lib/oci/data_integration/models/update_application_details.rb +81 -4
  868. data/lib/oci/data_integration/models/update_connection_details.rb +3 -1
  869. data/lib/oci/data_integration/models/update_connection_from_bip.rb +211 -0
  870. data/lib/oci/data_integration/models/update_dis_application_details.rb +346 -0
  871. data/lib/oci/data_integration/models/update_reference_details.rb +1 -1
  872. data/lib/oci/data_integration/models/update_task_from_data_loader_task.rb +47 -4
  873. data/lib/oci/data_integration/models/update_task_from_rest_task.rb +44 -4
  874. data/lib/oci/data_integration/models/write_operation_config.rb +13 -1
  875. data/lib/oci/data_labeling_service/data_labeling_service.rb +2 -0
  876. data/lib/oci/data_labeling_service/models/dataset_format_details.rb +2 -2
  877. data/lib/oci/data_labeling_service/models/dataset_source_details.rb +1 -1
  878. data/lib/oci/data_labeling_service/models/delimited_file_type_metadata.rb +220 -0
  879. data/lib/oci/data_labeling_service/models/document_dataset_format_details.rb +1 -1
  880. data/lib/oci/data_labeling_service/models/export_format.rb +2 -1
  881. data/lib/oci/data_labeling_service/models/image_dataset_format_details.rb +1 -1
  882. data/lib/oci/data_labeling_service/models/initial_record_generation_configuration.rb +2 -2
  883. data/lib/oci/data_labeling_service/models/label.rb +1 -1
  884. data/lib/oci/data_labeling_service/models/label_set.rb +2 -2
  885. data/lib/oci/data_labeling_service/models/object_storage_source_details.rb +3 -3
  886. data/lib/oci/data_labeling_service/models/text_dataset_format_details.rb +21 -5
  887. data/lib/oci/data_labeling_service/models/text_file_type_metadata.rb +189 -0
  888. data/lib/oci/data_labeling_service_dataplane/data_labeling_service_dataplane.rb +2 -0
  889. data/lib/oci/data_labeling_service_dataplane/models/dataset.rb +6 -6
  890. data/lib/oci/data_labeling_service_dataplane/models/dataset_source_details.rb +1 -1
  891. data/lib/oci/data_labeling_service_dataplane/models/delimited_file_type_metadata.rb +220 -0
  892. data/lib/oci/data_labeling_service_dataplane/models/initial_record_generation_configuration.rb +1 -1
  893. data/lib/oci/data_labeling_service_dataplane/models/object_storage_dataset_source_details.rb +2 -2
  894. data/lib/oci/data_labeling_service_dataplane/models/text_dataset_format_details.rb +20 -4
  895. data/lib/oci/data_labeling_service_dataplane/models/text_file_type_metadata.rb +189 -0
  896. data/lib/oci/data_safe/data_safe_client.rb +6 -6
  897. data/lib/oci/data_safe/models/audit_archive_retrieval.rb +1 -0
  898. data/lib/oci/data_safe/models/audit_archive_retrieval_lifecycle_state.rb +2 -1
  899. data/lib/oci/data_safe/models/audit_archive_retrieval_summary.rb +1 -0
  900. data/lib/oci/data_safe/models/security_assessment.rb +1 -0
  901. data/lib/oci/data_safe/models/security_assessment_lifecycle_state.rb +1 -0
  902. data/lib/oci/data_safe/models/security_assessment_summary.rb +1 -0
  903. data/lib/oci/data_safe/models/user_assessment.rb +1 -0
  904. data/lib/oci/data_safe/models/user_assessment_lifecycle_state.rb +1 -0
  905. data/lib/oci/data_safe/models/user_assessment_summary.rb +1 -0
  906. data/lib/oci/data_safe/models/work_request_resource.rb +1 -0
  907. data/lib/oci/data_science/data_science.rb +2 -0
  908. data/lib/oci/data_science/data_science_client.rb +2 -7
  909. data/lib/oci/data_science/models/create_notebook_session_details.rb +14 -2
  910. data/lib/oci/data_science/models/job_infrastructure_configuration_details.rb +2 -0
  911. data/lib/oci/data_science/models/managed_egress_standalone_job_infrastructure_configuration_details.rb +177 -0
  912. data/lib/oci/data_science/models/notebook_session.rb +14 -1
  913. data/lib/oci/data_science/models/notebook_session_config_details.rb +194 -0
  914. data/lib/oci/data_science/models/notebook_session_summary.rb +14 -1
  915. data/lib/oci/database/database.rb +18 -0
  916. data/lib/oci/database/database_client.rb +958 -83
  917. data/lib/oci/database/database_client_composite_operations.rb +379 -0
  918. data/lib/oci/database/models/autonomous_container_database.rb +76 -5
  919. data/lib/oci/database/models/autonomous_container_database_summary.rb +76 -5
  920. data/lib/oci/database/models/autonomous_database.rb +208 -8
  921. data/lib/oci/database/models/autonomous_database_character_sets.rb +153 -0
  922. data/lib/oci/database/models/autonomous_database_standby_summary.rb +1 -0
  923. data/lib/oci/database/models/autonomous_database_summary.rb +208 -8
  924. data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +2 -2
  925. data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +2 -2
  926. data/lib/oci/database/models/autonomous_vm_cluster.rb +145 -5
  927. data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +145 -5
  928. data/lib/oci/database/models/backup.rb +33 -4
  929. data/lib/oci/database/models/backup_summary.rb +33 -4
  930. data/lib/oci/database/models/cloud_autonomous_vm_cluster.rb +132 -6
  931. data/lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb +132 -6
  932. data/lib/oci/database/models/cloud_vm_cluster.rb +19 -6
  933. data/lib/oci/database/models/cloud_vm_cluster_summary.rb +19 -6
  934. data/lib/oci/database/models/compute_performance_summary.rb +211 -0
  935. data/lib/oci/database/models/create_autonomous_container_database_details.rb +4 -2
  936. data/lib/oci/database/models/create_autonomous_database_base.rb +105 -10
  937. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +25 -1
  938. data/lib/oci/database/models/create_autonomous_database_details.rb +28 -4
  939. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +25 -1
  940. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +25 -1
  941. data/lib/oci/database/models/create_autonomous_vm_cluster_details.rb +70 -1
  942. data/lib/oci/database/models/create_cloud_autonomous_vm_cluster_details.rb +19 -3
  943. data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +19 -6
  944. data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +33 -5
  945. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +222 -6
  946. data/lib/oci/database/models/create_database_details.rb +44 -1
  947. data/lib/oci/database/models/create_database_software_image_details.rb +1 -1
  948. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +18 -1
  949. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +25 -1
  950. data/lib/oci/database/models/create_vm_cluster_details.rb +17 -4
  951. data/lib/oci/database/models/data_collection_options.rb +156 -0
  952. data/lib/oci/database/models/data_guard_association.rb +1 -0
  953. data/lib/oci/database/models/data_guard_association_summary.rb +1 -0
  954. data/lib/oci/database/models/database.rb +30 -1
  955. data/lib/oci/database/models/database_connection_credentials.rb +2 -0
  956. data/lib/oci/database/models/database_connection_string.rb +1 -0
  957. data/lib/oci/database/models/database_software_image.rb +1 -1
  958. data/lib/oci/database/models/database_software_image_summary.rb +1 -1
  959. data/lib/oci/database/models/database_ssl_connection_credentials.rb +236 -0
  960. data/lib/oci/database/models/database_summary.rb +30 -1
  961. data/lib/oci/database/models/db_node.rb +6 -2
  962. data/lib/oci/database/models/db_node_summary.rb +6 -2
  963. data/lib/oci/database/models/db_server.rb +14 -1
  964. data/lib/oci/database/models/db_server_patching_details.rb +219 -0
  965. data/lib/oci/database/models/db_server_summary.rb +14 -1
  966. data/lib/oci/database/models/db_system.rb +54 -3
  967. data/lib/oci/database/models/db_system_compute_performance_summary.rb +165 -0
  968. data/lib/oci/database/models/db_system_shape_summary.rb +35 -1
  969. data/lib/oci/database/models/db_system_storage_performance_summary.rb +203 -0
  970. data/lib/oci/database/models/db_system_summary.rb +54 -3
  971. data/lib/oci/database/models/db_system_upgrade_history_entry.rb +303 -0
  972. data/lib/oci/database/models/db_system_upgrade_history_entry_summary.rb +304 -0
  973. data/lib/oci/database/models/disk_performance_details.rb +169 -0
  974. data/lib/oci/database/models/enable_external_container_database_stack_monitoring_details.rb +153 -0
  975. data/lib/oci/database/models/enable_external_database_stack_monitoring_details_base.rb +156 -0
  976. data/lib/oci/database/models/enable_external_non_container_database_stack_monitoring_details.rb +153 -0
  977. data/lib/oci/database/models/enable_external_pluggable_database_stack_monitoring_details.rb +153 -0
  978. data/lib/oci/database/models/estimated_patching_time.rb +197 -0
  979. data/lib/oci/database/models/exadata_infrastructure.rb +46 -1
  980. data/lib/oci/database/models/exadata_infrastructure_summary.rb +46 -1
  981. data/lib/oci/database/models/external_container_database.rb +17 -4
  982. data/lib/oci/database/models/external_container_database_summary.rb +17 -4
  983. data/lib/oci/database/models/external_database_base.rb +17 -4
  984. data/lib/oci/database/models/external_non_container_database.rb +17 -4
  985. data/lib/oci/database/models/external_non_container_database_summary.rb +17 -4
  986. data/lib/oci/database/models/external_pluggable_database.rb +17 -4
  987. data/lib/oci/database/models/external_pluggable_database_summary.rb +17 -4
  988. data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +2 -2
  989. data/lib/oci/database/models/launch_db_system_base.rb +36 -5
  990. data/lib/oci/database/models/launch_db_system_details.rb +5 -1
  991. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +5 -1
  992. data/lib/oci/database/models/launch_db_system_from_database_details.rb +5 -1
  993. data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +5 -1
  994. data/lib/oci/database/models/maintenance_run.rb +180 -4
  995. data/lib/oci/database/models/maintenance_run_summary.rb +180 -4
  996. data/lib/oci/database/models/maintenance_window.rb +67 -1
  997. data/lib/oci/database/models/migrate_vault_key_details.rb +46 -4
  998. data/lib/oci/database/models/stack_monitoring_config.rb +194 -0
  999. data/lib/oci/database/models/storage_performance_details.rb +183 -0
  1000. data/lib/oci/database/models/update_autonomous_database_details.rb +76 -7
  1001. data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +2 -2
  1002. data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +14 -1
  1003. data/lib/oci/database/models/update_cloud_autonomous_vm_cluster_details.rb +2 -2
  1004. data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +19 -6
  1005. data/lib/oci/database/models/update_db_system_details.rb +3 -3
  1006. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +18 -1
  1007. data/lib/oci/database/models/update_maintenance_run_details.rb +62 -4
  1008. data/lib/oci/database/models/update_vm_cluster_details.rb +17 -4
  1009. data/lib/oci/database/models/upgrade_db_system_details.rb +208 -0
  1010. data/lib/oci/database/models/vm_cluster.rb +17 -4
  1011. data/lib/oci/database/models/vm_cluster_summary.rb +17 -4
  1012. data/lib/oci/database_management/database_management.rb +21 -0
  1013. data/lib/oci/database_management/db_management_client.rb +213 -0
  1014. data/lib/oci/database_management/diagnosability_client.rb +479 -0
  1015. data/lib/oci/database_management/diagnosability_client_composite_operations.rb +25 -0
  1016. data/lib/oci/database_management/models/activity_time_series_metrics.rb +1 -1
  1017. data/lib/oci/database_management/models/addm_task_summary.rb +342 -0
  1018. data/lib/oci/database_management/models/addm_tasks_collection.rb +164 -0
  1019. data/lib/oci/database_management/models/alert_log_collection.rb +164 -0
  1020. data/lib/oci/database_management/models/alert_log_count_summary.rb +190 -0
  1021. data/lib/oci/database_management/models/alert_log_counts_collection.rb +164 -0
  1022. data/lib/oci/database_management/models/alert_log_summary.rb +266 -0
  1023. data/lib/oci/database_management/models/asm_property_collection.rb +1 -1
  1024. data/lib/oci/database_management/models/attention_log_collection.rb +164 -0
  1025. data/lib/oci/database_management/models/attention_log_count_summary.rb +190 -0
  1026. data/lib/oci/database_management/models/attention_log_counts_collection.rb +164 -0
  1027. data/lib/oci/database_management/models/attention_log_summary.rb +310 -0
  1028. data/lib/oci/database_management/models/cluster_cache_metric.rb +1 -1
  1029. data/lib/oci/database_management/models/compare_type.rb +2 -1
  1030. data/lib/oci/database_management/models/cpu_utilization_aggregate_metrics.rb +17 -4
  1031. data/lib/oci/database_management/models/database_fleet_health_metrics.rb +1 -0
  1032. data/lib/oci/database_management/models/database_home_metric_definition.rb +2 -2
  1033. data/lib/oci/database_management/models/database_home_metrics.rb +1 -1
  1034. data/lib/oci/database_management/models/database_io_aggregate_metrics.rb +34 -6
  1035. data/lib/oci/database_management/models/database_storage_aggregate_metrics.rb +1 -1
  1036. data/lib/oci/database_management/models/historic_addm_result.rb +357 -0
  1037. data/lib/oci/database_management/models/managed_database_credential.rb +217 -0
  1038. data/lib/oci/database_management/models/managed_database_password_credential.rb +166 -0
  1039. data/lib/oci/database_management/models/managed_database_secret_credential.rb +173 -0
  1040. data/lib/oci/database_management/models/memory_aggregate_metrics.rb +1 -1
  1041. data/lib/oci/database_management/models/metric_statistics_definition.rb +218 -0
  1042. data/lib/oci/database_management/models/object_storage_job_execution_result_details.rb +1 -1
  1043. data/lib/oci/database_management/models/run_historic_addm_details.rb +169 -0
  1044. data/lib/oci/database_management/models/snapshot_details.rb +154 -0
  1045. data/lib/oci/database_management/models/sql_tuning_advisor_task_recommendation_summary.rb +18 -4
  1046. data/lib/oci/database_management/models/sql_tuning_set_collection.rb +164 -0
  1047. data/lib/oci/database_management/models/sql_tuning_set_input.rb +160 -0
  1048. data/lib/oci/database_management/models/sql_tuning_set_summary.rb +184 -0
  1049. data/lib/oci/database_management/models/start_sql_tuning_task_details.rb +20 -4
  1050. data/lib/oci/database_management/models/tablespace_collection.rb +1 -1
  1051. data/lib/oci/database_management/models/time_series_metric_definition.rb +1 -1
  1052. data/lib/oci/database_management/models/user.rb +3 -3
  1053. data/lib/oci/database_management/models/user_collection.rb +1 -1
  1054. data/lib/oci/database_management/models/user_summary.rb +16 -2
  1055. data/lib/oci/database_management/sql_tuning_client.rb +81 -3
  1056. data/lib/oci/database_migration/database_migration.rb +32 -0
  1057. data/lib/oci/database_migration/database_migration_client.rb +311 -0
  1058. data/lib/oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.rb +198 -0
  1059. data/lib/oci/database_migration/models/adb_dedicated_remap_target_tablespace_details.rb +166 -0
  1060. data/lib/oci/database_migration/models/adb_serverles_tablespace_details.rb +185 -0
  1061. data/lib/oci/database_migration/models/aws_s3_details.rb +166 -0
  1062. data/lib/oci/database_migration/models/connection.rb +52 -1
  1063. data/lib/oci/database_migration/models/connection_summary.rb +52 -1
  1064. data/lib/oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.rb +198 -0
  1065. data/lib/oci/database_migration/models/create_adb_dedicated_remap_target_tablespace_details.rb +166 -0
  1066. data/lib/oci/database_migration/models/create_adb_serverles_tablespace_details.rb +146 -0
  1067. data/lib/oci/database_migration/models/create_aws_s3_details.rb +198 -0
  1068. data/lib/oci/database_migration/models/create_connection_details.rb +31 -1
  1069. data/lib/oci/database_migration/models/create_data_pump_settings.rb +14 -1
  1070. data/lib/oci/database_migration/models/create_data_transfer_medium_details.rb +19 -5
  1071. data/lib/oci/database_migration/models/create_non_adb_auto_create_tablespace_details.rb +198 -0
  1072. data/lib/oci/database_migration/models/create_non_adb_remap_tablespace_details.rb +166 -0
  1073. data/lib/oci/database_migration/models/create_target_type_tablespace_details.rb +192 -0
  1074. data/lib/oci/database_migration/models/data_pump_settings.rb +14 -1
  1075. data/lib/oci/database_migration/models/data_transfer_medium_details.rb +17 -4
  1076. data/lib/oci/database_migration/models/database_manual_connection_sub_types.rb +11 -0
  1077. data/lib/oci/database_migration/models/excluded_object_summary.rb +227 -0
  1078. data/lib/oci/database_migration/models/excluded_object_summary_collection.rb +152 -0
  1079. data/lib/oci/database_migration/models/migration_database_target_types.rb +14 -0
  1080. data/lib/oci/database_migration/models/migration_database_target_types_update.rb +16 -0
  1081. data/lib/oci/database_migration/models/migration_object_collection.rb +152 -0
  1082. data/lib/oci/database_migration/models/migration_object_summary.rb +214 -0
  1083. data/lib/oci/database_migration/models/non_adb_auto_create_tablespace_details.rb +198 -0
  1084. data/lib/oci/database_migration/models/non_adb_remap_tablespace_details.rb +166 -0
  1085. data/lib/oci/database_migration/models/object_status.rb +11 -0
  1086. data/lib/oci/database_migration/models/reason_keywords.rb +14 -0
  1087. data/lib/oci/database_migration/models/target_type_tablespace_details.rb +199 -0
  1088. data/lib/oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.rb +198 -0
  1089. data/lib/oci/database_migration/models/update_adb_dedicated_remap_target_tablespace_details.rb +166 -0
  1090. data/lib/oci/database_migration/models/update_adb_serverles_tablespace_details.rb +146 -0
  1091. data/lib/oci/database_migration/models/update_aws_s3_details.rb +198 -0
  1092. data/lib/oci/database_migration/models/update_data_pump_settings.rb +14 -1
  1093. data/lib/oci/database_migration/models/update_data_transfer_medium_details.rb +19 -5
  1094. data/lib/oci/database_migration/models/update_non_adb_auto_create_tablespace_details.rb +198 -0
  1095. data/lib/oci/database_migration/models/update_non_adb_remap_tablespace_details.rb +166 -0
  1096. data/lib/oci/database_migration/models/update_target_defaults_auto_create_tablespace_details.rb +148 -0
  1097. data/lib/oci/database_migration/models/update_target_defaults_remap_tablespace_details.rb +148 -0
  1098. data/lib/oci/database_migration/models/update_target_type_tablespace_details.rb +196 -0
  1099. data/lib/oci/database_tools/database_tools.rb +26 -3
  1100. data/lib/oci/database_tools/database_tools_client.rb +43 -43
  1101. data/lib/oci/database_tools/database_tools_client_composite_operations.rb +7 -7
  1102. data/lib/oci/database_tools/models/change_database_tools_connection_compartment_details.rb +2 -2
  1103. data/lib/oci/database_tools/models/change_database_tools_private_endpoint_compartment_details.rb +2 -2
  1104. data/lib/oci/database_tools/models/connection_type.rb +2 -1
  1105. data/lib/oci/database_tools/models/create_database_tools_connection_details.rb +5 -3
  1106. data/lib/oci/database_tools/models/create_database_tools_connection_my_sql_details.rb +262 -0
  1107. data/lib/oci/database_tools/models/create_database_tools_connection_oracle_database_details.rb +5 -5
  1108. data/lib/oci/database_tools/models/create_database_tools_private_endpoint_details.rb +4 -4
  1109. data/lib/oci/database_tools/models/create_database_tools_related_resource_my_sql_details.rb +176 -0
  1110. data/lib/oci/database_tools/models/database_tools_connection.rb +10 -8
  1111. data/lib/oci/database_tools/models/database_tools_connection_collection.rb +2 -2
  1112. data/lib/oci/database_tools/models/database_tools_connection_my_sql.rb +286 -0
  1113. data/lib/oci/database_tools/models/database_tools_connection_my_sql_summary.rb +286 -0
  1114. data/lib/oci/database_tools/models/database_tools_connection_oracle_database.rb +6 -6
  1115. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_summary.rb +4 -4
  1116. data/lib/oci/database_tools/models/database_tools_connection_summary.rb +9 -7
  1117. data/lib/oci/database_tools/models/database_tools_endpoint_service.rb +7 -7
  1118. data/lib/oci/database_tools/models/database_tools_endpoint_service_collection.rb +2 -2
  1119. data/lib/oci/database_tools/models/database_tools_endpoint_service_summary.rb +7 -7
  1120. data/lib/oci/database_tools/models/database_tools_key_store_content_my_sql.rb +189 -0
  1121. data/lib/oci/database_tools/models/database_tools_key_store_content_my_sql_details.rb +182 -0
  1122. data/lib/oci/database_tools/models/database_tools_key_store_content_my_sql_summary.rb +189 -0
  1123. data/lib/oci/database_tools/models/{database_tools_virtual_source.rb → database_tools_key_store_content_secret_id_my_sql.rb} +20 -26
  1124. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_my_sql_details.rb +162 -0
  1125. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_my_sql_summary.rb +162 -0
  1126. data/lib/oci/database_tools/models/database_tools_key_store_my_sql.rb +201 -0
  1127. data/lib/oci/database_tools/models/database_tools_key_store_my_sql_details.rb +194 -0
  1128. data/lib/oci/database_tools/models/database_tools_key_store_my_sql_summary.rb +201 -0
  1129. data/lib/oci/database_tools/models/database_tools_key_store_password_my_sql.rb +189 -0
  1130. data/lib/oci/database_tools/models/database_tools_key_store_password_my_sql_details.rb +182 -0
  1131. data/lib/oci/database_tools/models/database_tools_key_store_password_my_sql_summary.rb +189 -0
  1132. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_my_sql.rb +162 -0
  1133. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_my_sql_details.rb +162 -0
  1134. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_my_sql_summary.rb +162 -0
  1135. data/lib/oci/database_tools/models/database_tools_private_endpoint.rb +8 -8
  1136. data/lib/oci/database_tools/models/database_tools_private_endpoint_collection.rb +2 -2
  1137. data/lib/oci/database_tools/models/database_tools_private_endpoint_reverse_connection_configuration.rb +1 -1
  1138. data/lib/oci/database_tools/models/database_tools_private_endpoint_summary.rb +8 -8
  1139. data/lib/oci/database_tools/models/database_tools_related_resource_my_sql.rb +183 -0
  1140. data/lib/oci/database_tools/models/database_tools_user_password_secret_id_details.rb +1 -1
  1141. data/lib/oci/database_tools/models/key_store_type_my_sql.rb +12 -0
  1142. data/lib/oci/database_tools/models/{service_capability.rb → related_resource_entity_type_my_sql.rb} +2 -2
  1143. data/lib/oci/database_tools/models/update_database_tools_connection_details.rb +4 -2
  1144. data/lib/oci/database_tools/models/update_database_tools_connection_my_sql_details.rb +258 -0
  1145. data/lib/oci/database_tools/models/update_database_tools_connection_oracle_database_details.rb +4 -4
  1146. data/lib/oci/database_tools/models/update_database_tools_private_endpoint_details.rb +1 -1
  1147. data/lib/oci/database_tools/models/update_database_tools_related_resource_my_sql_details.rb +176 -0
  1148. data/lib/oci/database_tools/models/validate_database_tools_connection_details.rb +4 -2
  1149. data/lib/oci/database_tools/models/validate_database_tools_connection_my_sql_details.rb +145 -0
  1150. data/lib/oci/database_tools/models/validate_database_tools_connection_my_sql_result.rb +192 -0
  1151. data/lib/oci/database_tools/models/validate_database_tools_connection_oracle_database_details.rb +1 -1
  1152. data/lib/oci/database_tools/models/validate_database_tools_connection_result.rb +4 -2
  1153. data/lib/oci/database_tools/models/work_request_collection.rb +2 -2
  1154. data/lib/oci/database_tools/models/work_request_error_collection.rb +1 -1
  1155. data/lib/oci/database_tools/models/work_request_log_entry.rb +1 -1
  1156. data/lib/oci/database_tools/models/work_request_log_entry_collection.rb +2 -2
  1157. data/lib/oci/database_tools/models/work_request_resource.rb +1 -1
  1158. data/lib/oci/devops/devops.rb +81 -0
  1159. data/lib/oci/devops/devops_client.rb +132 -3
  1160. data/lib/oci/devops/devops_client_composite_operations.rb +1 -1
  1161. data/lib/oci/devops/models/approval_action.rb +14 -4
  1162. data/lib/oci/devops/models/bitbucket_cloud_app_password_connection.rb +218 -0
  1163. data/lib/oci/devops/models/bitbucket_cloud_app_password_connection_summary.rb +218 -0
  1164. data/lib/oci/devops/models/bitbucket_cloud_build_run_source.rb +176 -0
  1165. data/lib/oci/devops/models/bitbucket_cloud_build_source.rb +174 -0
  1166. data/lib/oci/devops/models/bitbucket_cloud_filter.rb +196 -0
  1167. data/lib/oci/devops/models/bitbucket_cloud_filter_attributes.rb +168 -0
  1168. data/lib/oci/devops/models/bitbucket_cloud_trigger.rb +214 -0
  1169. data/lib/oci/devops/models/bitbucket_cloud_trigger_create_result.rb +214 -0
  1170. data/lib/oci/devops/models/bitbucket_cloud_trigger_summary.rb +193 -0
  1171. data/lib/oci/devops/models/build_outputs.rb +17 -4
  1172. data/lib/oci/devops/models/build_pipeline_stage.rb +2 -2
  1173. data/lib/oci/devops/models/build_pipeline_stage_predecessor.rb +3 -1
  1174. data/lib/oci/devops/models/build_pipeline_stage_summary.rb +1 -1
  1175. data/lib/oci/devops/models/build_run_source.rb +2 -0
  1176. data/lib/oci/devops/models/build_source.rb +2 -0
  1177. data/lib/oci/devops/models/build_stage_run_step.rb +1 -1
  1178. data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage.rb +314 -0
  1179. data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +190 -0
  1180. data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_summary.rb +314 -0
  1181. data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage.rb +218 -0
  1182. data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +190 -0
  1183. data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_summary.rb +218 -0
  1184. data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +1 -1
  1185. data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage.rb +232 -0
  1186. data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
  1187. data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_summary.rb +232 -0
  1188. data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage.rb +287 -0
  1189. data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
  1190. data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_summary.rb +287 -0
  1191. data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage.rb +232 -0
  1192. data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  1193. data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_summary.rb +232 -0
  1194. data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +1 -1
  1195. data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +1 -1
  1196. data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +1 -1
  1197. data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +1 -1
  1198. data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +1 -1
  1199. data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +1 -1
  1200. data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +1 -1
  1201. data/lib/oci/devops/models/connection.rb +2 -0
  1202. data/lib/oci/devops/models/connection_summary.rb +1 -0
  1203. data/lib/oci/devops/models/create_bitbucket_cloud_app_password_connection_details.rb +194 -0
  1204. data/lib/oci/devops/models/create_bitbucket_cloud_trigger_details.rb +169 -0
  1205. data/lib/oci/devops/models/create_build_pipeline_stage_details.rb +1 -1
  1206. data/lib/oci/devops/models/create_compute_instance_group_blue_green_deploy_stage_details.rb +282 -0
  1207. data/lib/oci/devops/models/create_compute_instance_group_blue_green_traffic_shift_deploy_stage_details.rb +186 -0
  1208. data/lib/oci/devops/models/create_compute_instance_group_canary_approval_deploy_stage_details.rb +200 -0
  1209. data/lib/oci/devops/models/create_compute_instance_group_canary_deploy_stage_details.rb +255 -0
  1210. data/lib/oci/devops/models/create_compute_instance_group_canary_traffic_shift_deploy_stage_details.rb +200 -0
  1211. data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +1 -1
  1212. data/lib/oci/devops/models/create_connection_details.rb +1 -0
  1213. data/lib/oci/devops/models/create_deploy_stage_details.rb +13 -2
  1214. data/lib/oci/devops/models/create_deployment_details.rb +1 -0
  1215. data/lib/oci/devops/models/create_oke_blue_green_deploy_stage_details.rb +214 -0
  1216. data/lib/oci/devops/models/create_oke_blue_green_traffic_shift_deploy_stage_details.rb +186 -0
  1217. data/lib/oci/devops/models/create_oke_canary_approval_deploy_stage_details.rb +200 -0
  1218. data/lib/oci/devops/models/create_oke_canary_deploy_stage_details.rb +214 -0
  1219. data/lib/oci/devops/models/create_oke_canary_traffic_shift_deploy_stage_details.rb +200 -0
  1220. data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +17 -4
  1221. data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +2 -2
  1222. data/lib/oci/devops/models/create_oke_helm_chart_deploy_stage_details.rb +268 -0
  1223. data/lib/oci/devops/models/create_repository_details.rb +1 -1
  1224. data/lib/oci/devops/models/create_single_deploy_stage_redeployment_details.rb +192 -0
  1225. data/lib/oci/devops/models/create_trigger_details.rb +1 -0
  1226. data/lib/oci/devops/models/deploy_artifact.rb +1 -0
  1227. data/lib/oci/devops/models/deploy_artifact_source.rb +2 -0
  1228. data/lib/oci/devops/models/deploy_environment.rb +2 -1
  1229. data/lib/oci/devops/models/deploy_stage.rb +24 -2
  1230. data/lib/oci/devops/models/deploy_stage_execution_progress.rb +14 -3
  1231. data/lib/oci/devops/models/deploy_stage_summary.rb +12 -1
  1232. data/lib/oci/devops/models/deployment.rb +3 -1
  1233. data/lib/oci/devops/models/deployment_summary.rb +1 -0
  1234. data/lib/oci/devops/models/filter.rb +1 -0
  1235. data/lib/oci/devops/models/generic_deploy_artifact_source.rb +1 -1
  1236. data/lib/oci/devops/models/helm_repository_deploy_artifact_source.rb +176 -0
  1237. data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +1 -1
  1238. data/lib/oci/devops/models/load_balancer_config.rb +4 -1
  1239. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +1 -1
  1240. data/lib/oci/devops/models/network_channel.rb +191 -0
  1241. data/lib/oci/devops/models/nginx_blue_green_strategy.rb +190 -0
  1242. data/lib/oci/devops/models/nginx_canary_strategy.rb +172 -0
  1243. data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +1 -1
  1244. data/lib/oci/devops/models/oke_blue_green_deploy_stage.rb +246 -0
  1245. data/lib/oci/devops/models/oke_blue_green_deploy_stage_execution_progress.rb +186 -0
  1246. data/lib/oci/devops/models/oke_blue_green_deploy_stage_summary.rb +246 -0
  1247. data/lib/oci/devops/models/oke_blue_green_strategy.rb +189 -0
  1248. data/lib/oci/devops/models/oke_blue_green_traffic_shift_deploy_stage.rb +218 -0
  1249. data/lib/oci/devops/models/oke_blue_green_traffic_shift_deploy_stage_execution_progress.rb +186 -0
  1250. data/lib/oci/devops/models/oke_blue_green_traffic_shift_deploy_stage_summary.rb +218 -0
  1251. data/lib/oci/devops/models/oke_canary_approval_deploy_stage.rb +232 -0
  1252. data/lib/oci/devops/models/oke_canary_approval_deploy_stage_execution_progress.rb +189 -0
  1253. data/lib/oci/devops/models/oke_canary_approval_deploy_stage_summary.rb +232 -0
  1254. data/lib/oci/devops/models/oke_canary_deploy_stage.rb +246 -0
  1255. data/lib/oci/devops/models/oke_canary_deploy_stage_execution_progress.rb +173 -0
  1256. data/lib/oci/devops/models/oke_canary_deploy_stage_summary.rb +246 -0
  1257. data/lib/oci/devops/models/oke_canary_strategy.rb +189 -0
  1258. data/lib/oci/devops/models/oke_canary_traffic_shift_deploy_stage.rb +232 -0
  1259. data/lib/oci/devops/models/oke_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  1260. data/lib/oci/devops/models/oke_canary_traffic_shift_deploy_stage_summary.rb +232 -0
  1261. data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +17 -4
  1262. data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +17 -4
  1263. data/lib/oci/devops/models/oke_deploy_stage.rb +2 -2
  1264. data/lib/oci/devops/models/oke_deploy_stage_summary.rb +2 -2
  1265. data/lib/oci/devops/models/oke_helm_chart_deploy_stage.rb +298 -0
  1266. data/lib/oci/devops/models/oke_helm_chart_deploy_stage_summary.rb +298 -0
  1267. data/lib/oci/devops/models/oke_helm_chart_deployment_stage_execution_progress.rb +225 -0
  1268. data/lib/oci/devops/models/private_endpoint_channel.rb +176 -0
  1269. data/lib/oci/devops/models/put_repository_ref_details.rb +1 -1
  1270. data/lib/oci/devops/models/repository.rb +4 -4
  1271. data/lib/oci/devops/models/repository_branch.rb +9 -1
  1272. data/lib/oci/devops/models/repository_ref.rb +33 -5
  1273. data/lib/oci/devops/models/repository_ref_summary.rb +1 -1
  1274. data/lib/oci/devops/models/repository_tag.rb +9 -1
  1275. data/lib/oci/devops/models/single_deploy_stage_redeployment.rb +244 -0
  1276. data/lib/oci/devops/models/single_deploy_stage_redeployment_summary.rb +232 -0
  1277. data/lib/oci/devops/models/trigger.rb +3 -1
  1278. data/lib/oci/devops/models/trigger_create_result.rb +1 -0
  1279. data/lib/oci/devops/models/trigger_schedule.rb +3 -3
  1280. data/lib/oci/devops/models/trigger_summary.rb +1 -0
  1281. data/lib/oci/devops/models/update_bitbucket_cloud_app_password_connection_details.rb +190 -0
  1282. data/lib/oci/devops/models/update_bitbucket_cloud_trigger_details.rb +165 -0
  1283. data/lib/oci/devops/models/update_compute_instance_group_blue_green_deploy_stage_details.rb +235 -0
  1284. data/lib/oci/devops/models/update_compute_instance_group_blue_green_traffic_shift_deploy_stage_details.rb +165 -0
  1285. data/lib/oci/devops/models/update_compute_instance_group_canary_approval_deploy_stage_details.rb +181 -0
  1286. data/lib/oci/devops/models/update_compute_instance_group_canary_deploy_stage_details.rb +222 -0
  1287. data/lib/oci/devops/models/update_compute_instance_group_canary_traffic_shift_deploy_stage_details.rb +181 -0
  1288. data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +1 -1
  1289. data/lib/oci/devops/models/update_connection_details.rb +1 -0
  1290. data/lib/oci/devops/models/update_deploy_stage_details.rb +12 -1
  1291. data/lib/oci/devops/models/update_deployment_details.rb +1 -0
  1292. data/lib/oci/devops/models/update_github_access_token_connection_details.rb +1 -1
  1293. data/lib/oci/devops/models/update_oke_blue_green_deploy_stage_details.rb +182 -0
  1294. data/lib/oci/devops/models/update_oke_blue_green_traffic_shift_deploy_stage_details.rb +165 -0
  1295. data/lib/oci/devops/models/update_oke_canary_approval_deploy_stage_details.rb +181 -0
  1296. data/lib/oci/devops/models/update_oke_canary_deploy_stage_details.rb +182 -0
  1297. data/lib/oci/devops/models/update_oke_canary_traffic_shift_deploy_stage_details.rb +181 -0
  1298. data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +17 -4
  1299. data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +2 -2
  1300. data/lib/oci/devops/models/update_oke_helm_chart_deploy_stage_details.rb +264 -0
  1301. data/lib/oci/devops/models/update_single_deploy_stage_redeployment_details.rb +157 -0
  1302. data/lib/oci/devops/models/update_trigger_details.rb +1 -0
  1303. data/lib/oci/devops/models/vulnerability_audit_summary.rb +182 -0
  1304. data/lib/oci/devops/models/vulnerability_audit_summary_collection.rb +150 -0
  1305. data/lib/oci/dns/dns_client.rb +189 -119
  1306. data/lib/oci/dns/models/record.rb +2 -1
  1307. data/lib/oci/dns/models/record_details.rb +2 -1
  1308. data/lib/oci/dns/models/record_operation.rb +2 -1
  1309. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
  1310. data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +2 -1
  1311. data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +1 -1
  1312. data/lib/oci/dns/models/steering_policy_health_rule_case.rb +1 -1
  1313. data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +1 -1
  1314. data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +1 -1
  1315. data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +1 -1
  1316. data/lib/oci/dns/models/tsig_key.rb +0 -1
  1317. data/lib/oci/em_warehouse/em_data_lake_client.rb +968 -0
  1318. data/lib/oci/em_warehouse/em_data_lake_client_composite_operations.rb +223 -0
  1319. data/lib/oci/em_warehouse/em_warehouse.rb +43 -0
  1320. data/lib/oci/em_warehouse/models/action_type.rb +15 -0
  1321. data/lib/oci/em_warehouse/models/change_em_warehouse_compartment_details.rb +156 -0
  1322. data/lib/oci/em_warehouse/models/create_em_warehouse_details.rb +228 -0
  1323. data/lib/oci/em_warehouse/models/em_instances_details.rb +182 -0
  1324. data/lib/oci/em_warehouse/models/em_warehouse.rb +390 -0
  1325. data/lib/oci/em_warehouse/models/em_warehouse_collection.rb +150 -0
  1326. data/lib/oci/em_warehouse/models/em_warehouse_summary.rb +366 -0
  1327. data/lib/oci/em_warehouse/models/etl_run_collection.rb +150 -0
  1328. data/lib/oci/em_warehouse/models/etl_run_summary.rb +322 -0
  1329. data/lib/oci/em_warehouse/models/operation_status.rb +16 -0
  1330. data/lib/oci/em_warehouse/models/operation_type.rb +13 -0
  1331. data/lib/oci/em_warehouse/models/resource_usage.rb +206 -0
  1332. data/lib/oci/em_warehouse/models/sort_order.rb +11 -0
  1333. data/lib/oci/em_warehouse/models/update_em_warehouse_details.rb +200 -0
  1334. data/lib/oci/em_warehouse/models/work_request.rb +309 -0
  1335. data/lib/oci/em_warehouse/models/work_request_error.rb +173 -0
  1336. data/lib/oci/em_warehouse/models/work_request_error_collection.rb +150 -0
  1337. data/lib/oci/em_warehouse/models/work_request_log_entry.rb +160 -0
  1338. data/lib/oci/em_warehouse/models/work_request_log_entry_collection.rb +150 -0
  1339. data/lib/oci/em_warehouse/models/work_request_resource.rb +230 -0
  1340. data/lib/oci/em_warehouse/models/work_request_resource_metadata_key.rb +10 -0
  1341. data/lib/oci/em_warehouse/models/work_request_summary.rb +309 -0
  1342. data/lib/oci/em_warehouse/models/work_request_summary_collection.rb +150 -0
  1343. data/lib/oci/em_warehouse/util.rb +3 -0
  1344. data/lib/oci/functions/functions.rb +3 -0
  1345. data/lib/oci/functions/functions_invoke_client.rb +2 -2
  1346. data/lib/oci/functions/models/constant_provisioned_concurrency_config.rb +159 -0
  1347. data/lib/oci/functions/models/create_function_details.rb +14 -1
  1348. data/lib/oci/functions/models/function.rb +14 -1
  1349. data/lib/oci/functions/models/function_provisioned_concurrency_config.rb +189 -0
  1350. data/lib/oci/functions/models/function_summary.rb +14 -1
  1351. data/lib/oci/functions/models/none_provisioned_concurrency_config.rb +146 -0
  1352. data/lib/oci/functions/models/update_function_details.rb +14 -1
  1353. data/lib/oci/golden_gate/models/create_deployment_details.rb +1 -2
  1354. data/lib/oci/golden_gate/models/deployment.rb +32 -3
  1355. data/lib/oci/golden_gate/models/deployment_summary.rb +35 -6
  1356. data/lib/oci/governance_rules_control_plane/governance_rule_client.rb +1107 -0
  1357. data/lib/oci/governance_rules_control_plane/governance_rule_client_composite_operations.rb +369 -0
  1358. data/lib/oci/governance_rules_control_plane/governance_rules_control_plane.rb +63 -0
  1359. data/lib/oci/governance_rules_control_plane/models/action_type.rb +15 -0
  1360. data/lib/oci/governance_rules_control_plane/models/allowed_regions_template.rb +183 -0
  1361. data/lib/oci/governance_rules_control_plane/models/association.rb +171 -0
  1362. data/lib/oci/governance_rules_control_plane/models/base_tag_definition_validator.rb +203 -0
  1363. data/lib/oci/governance_rules_control_plane/models/create_governance_rule_details.rb +291 -0
  1364. data/lib/oci/governance_rules_control_plane/models/create_inclusion_criterion_details.rb +173 -0
  1365. data/lib/oci/governance_rules_control_plane/models/creation_option.rb +11 -0
  1366. data/lib/oci/governance_rules_control_plane/models/default_tag_definition_validator.rb +148 -0
  1367. data/lib/oci/governance_rules_control_plane/models/enforced_governance_rule.rb +289 -0
  1368. data/lib/oci/governance_rules_control_plane/models/enforced_governance_rule_collection.rb +150 -0
  1369. data/lib/oci/governance_rules_control_plane/models/enforced_governance_rule_summary.rb +279 -0
  1370. data/lib/oci/governance_rules_control_plane/models/enum_tag_definition_validator.rb +163 -0
  1371. data/lib/oci/governance_rules_control_plane/models/governance_rule.rb +397 -0
  1372. data/lib/oci/governance_rules_control_plane/models/governance_rule_collection.rb +150 -0
  1373. data/lib/oci/governance_rules_control_plane/models/governance_rule_lifecycle_state.rb +11 -0
  1374. data/lib/oci/governance_rules_control_plane/models/governance_rule_summary.rb +363 -0
  1375. data/lib/oci/governance_rules_control_plane/models/governance_rule_type.rb +12 -0
  1376. data/lib/oci/governance_rules_control_plane/models/inclusion_criterion.rb +270 -0
  1377. data/lib/oci/governance_rules_control_plane/models/inclusion_criterion_collection.rb +150 -0
  1378. data/lib/oci/governance_rules_control_plane/models/inclusion_criterion_summary.rb +231 -0
  1379. data/lib/oci/governance_rules_control_plane/models/operation_status.rb +16 -0
  1380. data/lib/oci/governance_rules_control_plane/models/operation_type.rb +25 -0
  1381. data/lib/oci/governance_rules_control_plane/models/quota_template.rb +183 -0
  1382. data/lib/oci/governance_rules_control_plane/models/sort_order.rb +11 -0
  1383. data/lib/oci/governance_rules_control_plane/models/tag.rb +188 -0
  1384. data/lib/oci/governance_rules_control_plane/models/tag_default.rb +192 -0
  1385. data/lib/oci/governance_rules_control_plane/models/tag_template.rb +192 -0
  1386. data/lib/oci/governance_rules_control_plane/models/template.rb +193 -0
  1387. data/lib/oci/governance_rules_control_plane/models/tenancy_association.rb +163 -0
  1388. data/lib/oci/governance_rules_control_plane/models/tenancy_attachment.rb +281 -0
  1389. data/lib/oci/governance_rules_control_plane/models/tenancy_attachment_collection.rb +150 -0
  1390. data/lib/oci/governance_rules_control_plane/models/tenancy_attachment_summary.rb +257 -0
  1391. data/lib/oci/governance_rules_control_plane/models/update_governance_rule_details.rb +219 -0
  1392. data/lib/oci/governance_rules_control_plane/models/work_request.rb +321 -0
  1393. data/lib/oci/governance_rules_control_plane/models/work_request_error.rb +173 -0
  1394. data/lib/oci/governance_rules_control_plane/models/work_request_error_collection.rb +150 -0
  1395. data/lib/oci/governance_rules_control_plane/models/work_request_log_entry.rb +160 -0
  1396. data/lib/oci/governance_rules_control_plane/models/work_request_log_entry_collection.rb +150 -0
  1397. data/lib/oci/governance_rules_control_plane/models/work_request_resource.rb +230 -0
  1398. data/lib/oci/governance_rules_control_plane/models/work_request_resource_metadata_key.rb +10 -0
  1399. data/lib/oci/governance_rules_control_plane/models/work_request_summary.rb +321 -0
  1400. data/lib/oci/governance_rules_control_plane/models/work_request_summary_collection.rb +150 -0
  1401. data/lib/oci/governance_rules_control_plane/util.rb +3 -0
  1402. data/lib/oci/governance_rules_control_plane/work_request_client.rb +447 -0
  1403. data/lib/oci/governance_rules_control_plane/work_request_client_composite_operations.rb +25 -0
  1404. data/lib/oci/identity/identity.rb +3 -0
  1405. data/lib/oci/identity/identity_client.rb +415 -188
  1406. data/lib/oci/identity/identity_client_composite_operations.rb +174 -12
  1407. data/lib/oci/identity/models/add_lock_details.rb +191 -0
  1408. data/lib/oci/identity/models/allowed_domain_license_type_summary.rb +1 -1
  1409. data/lib/oci/identity/models/auth_token.rb +4 -1
  1410. data/lib/oci/identity/models/authentication_policy.rb +1 -1
  1411. data/lib/oci/identity/models/base_tag_definition_validator.rb +1 -1
  1412. data/lib/oci/identity/models/change_domain_compartment_details.rb +1 -1
  1413. data/lib/oci/identity/models/change_domain_license_type_details.rb +2 -2
  1414. data/lib/oci/identity/models/change_tas_domain_license_type_details.rb +2 -2
  1415. data/lib/oci/identity/models/compartment.rb +2 -2
  1416. data/lib/oci/identity/models/create_auth_token_details.rb +2 -0
  1417. data/lib/oci/identity/models/create_db_credential_details.rb +2 -0
  1418. data/lib/oci/identity/models/create_domain_details.rb +13 -15
  1419. data/lib/oci/identity/models/create_dynamic_group_details.rb +4 -1
  1420. data/lib/oci/identity/models/create_group_details.rb +3 -0
  1421. data/lib/oci/identity/models/create_network_source_details.rb +2 -3
  1422. data/lib/oci/identity/models/create_policy_details.rb +2 -2
  1423. data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -0
  1424. data/lib/oci/identity/models/create_swift_password_details.rb +2 -0
  1425. data/lib/oci/identity/models/create_tag_default_details.rb +14 -4
  1426. data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -4
  1427. data/lib/oci/identity/models/create_user_details.rb +7 -1
  1428. data/lib/oci/identity/models/customer_secret_key.rb +1 -1
  1429. data/lib/oci/identity/models/db_credential_summary.rb +3 -0
  1430. data/lib/oci/identity/models/domain.rb +14 -13
  1431. data/lib/oci/identity/models/domain_replication.rb +4 -4
  1432. data/lib/oci/identity/models/domain_replication_states.rb +4 -4
  1433. data/lib/oci/identity/models/domain_summary.rb +14 -14
  1434. data/lib/oci/identity/models/dynamic_group.rb +5 -2
  1435. data/lib/oci/identity/models/enable_replication_to_region_details.rb +2 -2
  1436. data/lib/oci/identity/models/group.rb +5 -2
  1437. data/lib/oci/identity/models/iam_work_request.rb +3 -2
  1438. data/lib/oci/identity/models/iam_work_request_error_summary.rb +2 -1
  1439. data/lib/oci/identity/models/iam_work_request_log_summary.rb +1 -1
  1440. data/lib/oci/identity/models/iam_work_request_resource.rb +1 -1
  1441. data/lib/oci/identity/models/iam_work_request_summary.rb +2 -2
  1442. data/lib/oci/identity/models/identity_provider.rb +1 -1
  1443. data/lib/oci/identity/models/mfa_totp_device.rb +1 -1
  1444. data/lib/oci/identity/models/network_policy.rb +1 -1
  1445. data/lib/oci/identity/models/network_sources.rb +1 -3
  1446. data/lib/oci/identity/models/network_sources_summary.rb +1 -2
  1447. data/lib/oci/identity/models/policy.rb +2 -2
  1448. data/lib/oci/identity/models/region.rb +1 -1
  1449. data/lib/oci/identity/models/region_subscription.rb +2 -2
  1450. data/lib/oci/identity/models/remove_lock_details.rb +164 -0
  1451. data/lib/oci/identity/models/replicated_region_details.rb +3 -3
  1452. data/lib/oci/identity/models/resource_lock.rb +228 -0
  1453. data/lib/oci/identity/models/smtp_credential.rb +4 -1
  1454. data/lib/oci/identity/models/smtp_credential_summary.rb +3 -0
  1455. data/lib/oci/identity/models/tag.rb +1 -1
  1456. data/lib/oci/identity/models/tag_default.rb +15 -5
  1457. data/lib/oci/identity/models/tag_default_summary.rb +14 -4
  1458. data/lib/oci/identity/models/tag_namespace.rb +16 -6
  1459. data/lib/oci/identity/models/tag_namespace_summary.rb +15 -5
  1460. data/lib/oci/identity/models/tag_summary.rb +1 -1
  1461. data/lib/oci/identity/models/tenancy.rb +1 -1
  1462. data/lib/oci/identity/models/ui_password.rb +1 -1
  1463. data/lib/oci/identity/models/update_auth_token_details.rb +3 -0
  1464. data/lib/oci/identity/models/update_customer_secret_key_details.rb +3 -0
  1465. data/lib/oci/identity/models/update_domain_details.rb +4 -4
  1466. data/lib/oci/identity/models/update_dynamic_group_details.rb +4 -1
  1467. data/lib/oci/identity/models/update_group_details.rb +3 -0
  1468. data/lib/oci/identity/models/update_network_source_details.rb +1 -2
  1469. data/lib/oci/identity/models/update_policy_details.rb +2 -2
  1470. data/lib/oci/identity/models/update_smtp_credential_details.rb +3 -0
  1471. data/lib/oci/identity/models/update_swift_password_details.rb +3 -0
  1472. data/lib/oci/identity/models/update_tag_details.rb +1 -1
  1473. data/lib/oci/identity/models/update_tag_namespace_details.rb +1 -1
  1474. data/lib/oci/identity/models/update_user_details.rb +7 -1
  1475. data/lib/oci/identity/models/user.rb +9 -4
  1476. data/lib/oci/jms/java_management_service_client.rb +507 -1
  1477. data/lib/oci/jms/java_management_service_client_composite_operations.rb +50 -0
  1478. data/lib/oci/jms/jms.rb +18 -0
  1479. data/lib/oci/jms/models/action_type.rb +2 -1
  1480. data/lib/oci/jms/models/blocklist.rb +204 -0
  1481. data/lib/oci/jms/models/blocklist_collection.rb +150 -0
  1482. data/lib/oci/jms/models/blocklist_entry.rb +184 -0
  1483. data/lib/oci/jms/models/blocklist_sort_by.rb +10 -0
  1484. data/lib/oci/jms/models/blocklist_target.rb +184 -0
  1485. data/lib/oci/jms/models/create_blocklist_details.rb +187 -0
  1486. data/lib/oci/jms/models/create_fleet_details.rb +27 -1
  1487. data/lib/oci/jms/models/custom_log.rb +169 -0
  1488. data/lib/oci/jms/models/existing_installation_site_id.rb +169 -0
  1489. data/lib/oci/jms/models/fleet.rb +28 -1
  1490. data/lib/oci/jms/models/fleet_summary.rb +28 -1
  1491. data/lib/oci/jms/models/installation_site.rb +328 -0
  1492. data/lib/oci/jms/models/installation_site_collection.rb +150 -0
  1493. data/lib/oci/jms/models/installation_site_sort_by.rb +17 -0
  1494. data/lib/oci/jms/models/installation_site_summary.rb +319 -0
  1495. data/lib/oci/jms/models/java_runtime_id.rb +184 -0
  1496. data/lib/oci/jms/models/jre_usage.rb +15 -1
  1497. data/lib/oci/jms/models/lifecycle_state.rb +1 -0
  1498. data/lib/oci/jms/models/operation_type.rb +3 -1
  1499. data/lib/oci/jms/models/principal.rb +164 -0
  1500. data/lib/oci/jms/models/remove_fleet_installation_sites_details.rb +154 -0
  1501. data/lib/oci/jms/models/update_fleet_details.rb +27 -1
  1502. data/lib/oci/jms/models/work_item_collection.rb +150 -0
  1503. data/lib/oci/jms/models/work_item_status.rb +16 -0
  1504. data/lib/oci/jms/models/work_item_summary.rb +242 -0
  1505. data/lib/oci/jms/models/work_request.rb +62 -4
  1506. data/lib/oci/jms/models/work_request_resource.rb +1 -0
  1507. data/lib/oci/license_manager/license_manager.rb +53 -0
  1508. data/lib/oci/license_manager/license_manager_client.rb +1294 -0
  1509. data/lib/oci/license_manager/license_manager_client_composite_operations.rb +264 -0
  1510. data/lib/oci/license_manager/models/bulk_upload_cell_info.rb +168 -0
  1511. data/lib/oci/license_manager/models/bulk_upload_failed_record_info.rb +178 -0
  1512. data/lib/oci/license_manager/models/bulk_upload_license_records_details.rb +183 -0
  1513. data/lib/oci/license_manager/models/bulk_upload_response.rb +248 -0
  1514. data/lib/oci/license_manager/models/bulk_upload_template.rb +150 -0
  1515. data/lib/oci/license_manager/models/bulk_upload_validation_error_info.rb +182 -0
  1516. data/lib/oci/license_manager/models/configuration.rb +198 -0
  1517. data/lib/oci/license_manager/models/create_license_record_details.rb +283 -0
  1518. data/lib/oci/license_manager/models/create_product_license_details.rb +270 -0
  1519. data/lib/oci/license_manager/models/image_details.rb +168 -0
  1520. data/lib/oci/license_manager/models/image_response.rb +202 -0
  1521. data/lib/oci/license_manager/models/license_metric.rb +200 -0
  1522. data/lib/oci/license_manager/models/license_record.rb +448 -0
  1523. data/lib/oci/license_manager/models/license_record_collection.rb +150 -0
  1524. data/lib/oci/license_manager/models/license_record_summary.rb +448 -0
  1525. data/lib/oci/license_manager/models/license_unit.rb +12 -0
  1526. data/lib/oci/license_manager/models/life_cycle_state.rb +12 -0
  1527. data/lib/oci/license_manager/models/product.rb +191 -0
  1528. data/lib/oci/license_manager/models/product_category.rb +11 -0
  1529. data/lib/oci/license_manager/models/product_license.rb +503 -0
  1530. data/lib/oci/license_manager/models/product_license_collection.rb +150 -0
  1531. data/lib/oci/license_manager/models/product_license_consumer_collection.rb +150 -0
  1532. data/lib/oci/license_manager/models/product_license_consumer_summary.rb +356 -0
  1533. data/lib/oci/license_manager/models/product_license_summary.rb +503 -0
  1534. data/lib/oci/license_manager/models/resource_unit.rb +10 -0
  1535. data/lib/oci/license_manager/models/status.rb +13 -0
  1536. data/lib/oci/license_manager/models/top_utilized_product_license_collection.rb +150 -0
  1537. data/lib/oci/license_manager/models/top_utilized_product_license_summary.rb +281 -0
  1538. data/lib/oci/license_manager/models/top_utilized_resource_collection.rb +150 -0
  1539. data/lib/oci/license_manager/models/top_utilized_resource_summary.rb +246 -0
  1540. data/lib/oci/license_manager/models/update_configuration_details.rb +154 -0
  1541. data/lib/oci/license_manager/models/update_license_record_details.rb +280 -0
  1542. data/lib/oci/license_manager/models/update_product_license_details.rb +182 -0
  1543. data/lib/oci/license_manager/util.rb +3 -0
  1544. data/lib/oci/limits/limits.rb +3 -0
  1545. data/lib/oci/limits/models/add_lock_details.rb +192 -0
  1546. data/lib/oci/limits/models/create_quota_details.rb +11 -1
  1547. data/lib/oci/limits/models/quota.rb +11 -1
  1548. data/lib/oci/limits/models/quota_summary.rb +11 -1
  1549. data/lib/oci/limits/models/remove_lock_details.rb +164 -0
  1550. data/lib/oci/limits/models/resource_lock.rb +214 -0
  1551. data/lib/oci/limits/quotas_client.rb +130 -0
  1552. data/lib/oci/limits/quotas_client_composite_operations.rb +80 -0
  1553. data/lib/oci/management_agent/management_agent.rb +3 -0
  1554. data/lib/oci/management_agent/management_agent_client.rb +12 -10
  1555. data/lib/oci/management_agent/models/architecture_types.rb +11 -0
  1556. data/lib/oci/management_agent/models/create_management_agent_install_key_details.rb +20 -4
  1557. data/lib/oci/management_agent/models/management_agent_image.rb +55 -1
  1558. data/lib/oci/management_agent/models/management_agent_image_summary.rb +67 -1
  1559. data/lib/oci/management_agent/models/management_agent_install_key.rb +20 -4
  1560. data/lib/oci/management_agent/models/management_agent_install_key_summary.rb +20 -4
  1561. data/lib/oci/management_agent/models/management_agent_plugin.rb +25 -4
  1562. data/lib/oci/management_agent/models/management_agent_plugin_summary.rb +31 -4
  1563. data/lib/oci/management_agent/models/package_types.rb +11 -0
  1564. data/lib/oci/management_agent/models/work_request_resource.rb +1 -1
  1565. data/lib/oci/management_agent/models/work_submission_key.rb +154 -0
  1566. data/lib/oci/management_dashboard/dashx_apis_client.rb +18 -14
  1567. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +3 -1
  1568. data/lib/oci/management_dashboard/models/management_saved_search.rb +2 -0
  1569. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +2 -0
  1570. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +2 -0
  1571. data/lib/oci/management_dashboard/models/saved_search_types.rb +3 -1
  1572. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +3 -1
  1573. data/lib/oci/marketplace/marketplace.rb +3 -0
  1574. data/lib/oci/marketplace/marketplace_client.rb +1 -1
  1575. data/lib/oci/marketplace/models/architecture_type.rb +11 -0
  1576. data/lib/oci/marketplace/models/ineligibility_reason_enum.rb +19 -0
  1577. data/lib/oci/marketplace/models/international_market_price.rb +203 -0
  1578. data/lib/oci/marketplace/models/launch_eligibility.rb +46 -4
  1579. data/lib/oci/marketplace/models/listing.rb +41 -1
  1580. data/lib/oci/marketplace/models/listing_summary.rb +41 -1
  1581. data/lib/oci/marketplace/models/pricing_currency_enum.rb +7 -1
  1582. data/lib/oci/marketplace/models/pricing_model.rb +23 -4
  1583. data/lib/oci/mysql/db_backups_client.rb +3 -2
  1584. data/lib/oci/mysql/db_backups_client_composite_operations.rb +40 -0
  1585. data/lib/oci/mysql/models/backup_policy.rb +17 -4
  1586. data/lib/oci/mysql/models/channel_summary.rb +1 -0
  1587. data/lib/oci/mysql/models/crash_recovery_status.rb +11 -0
  1588. data/lib/oci/mysql/models/create_backup_policy_details.rb +17 -4
  1589. data/lib/oci/mysql/models/create_db_system_details.rb +50 -6
  1590. data/lib/oci/mysql/models/create_db_system_source_details.rb +2 -0
  1591. data/lib/oci/mysql/models/create_db_system_source_from_pitr_details.rb +188 -0
  1592. data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +5 -1
  1593. data/lib/oci/mysql/models/create_deletion_policy_details.rb +220 -0
  1594. data/lib/oci/mysql/models/db_system.rb +69 -6
  1595. data/lib/oci/mysql/models/db_system_snapshot.rb +57 -6
  1596. data/lib/oci/mysql/models/db_system_source.rb +2 -0
  1597. data/lib/oci/mysql/models/db_system_source_from_pitr.rb +188 -0
  1598. data/lib/oci/mysql/models/db_system_summary.rb +87 -6
  1599. data/lib/oci/mysql/models/deletion_policy_details.rb +232 -0
  1600. data/lib/oci/mysql/models/pitr_policy.rb +154 -0
  1601. data/lib/oci/mysql/models/point_in_time_recovery_details.rb +171 -0
  1602. data/lib/oci/mysql/models/update_backup_policy_details.rb +17 -4
  1603. data/lib/oci/mysql/models/update_db_system_details.rb +59 -9
  1604. data/lib/oci/mysql/models/update_deletion_policy_details.rb +220 -0
  1605. data/lib/oci/mysql/mysql.rb +8 -0
  1606. data/lib/oci/network_firewall/models/action_type.rb +15 -0
  1607. data/lib/oci/network_firewall/models/application.rb +172 -0
  1608. data/lib/oci/network_firewall/models/change_network_firewall_compartment_details.rb +156 -0
  1609. data/lib/oci/network_firewall/models/change_network_firewall_policy_compartment_details.rb +156 -0
  1610. data/lib/oci/network_firewall/models/create_network_firewall_details.rb +287 -0
  1611. data/lib/oci/network_firewall/models/create_network_firewall_policy_details.rb +317 -0
  1612. data/lib/oci/network_firewall/models/decryption_profile.rb +187 -0
  1613. data/lib/oci/network_firewall/models/decryption_rule.rb +220 -0
  1614. data/lib/oci/network_firewall/models/decryption_rule_match_criteria.rb +160 -0
  1615. data/lib/oci/network_firewall/models/icmp6_application.rb +176 -0
  1616. data/lib/oci/network_firewall/models/icmp_application.rb +176 -0
  1617. data/lib/oci/network_firewall/models/lifecycle_state.rb +15 -0
  1618. data/lib/oci/network_firewall/models/mapped_secret.rb +201 -0
  1619. data/lib/oci/network_firewall/models/network_firewall.rb +397 -0
  1620. data/lib/oci/network_firewall/models/network_firewall_collection.rb +150 -0
  1621. data/lib/oci/network_firewall/models/network_firewall_policy.rb +442 -0
  1622. data/lib/oci/network_firewall/models/network_firewall_policy_summary.rb +310 -0
  1623. data/lib/oci/network_firewall/models/network_firewall_policy_summary_collection.rb +150 -0
  1624. data/lib/oci/network_firewall/models/network_firewall_summary.rb +383 -0
  1625. data/lib/oci/network_firewall/models/operation_status.rb +16 -0
  1626. data/lib/oci/network_firewall/models/operation_type.rb +17 -0
  1627. data/lib/oci/network_firewall/models/security_rule.rb +234 -0
  1628. data/lib/oci/network_firewall/models/security_rule_match_criteria.rb +182 -0
  1629. data/lib/oci/network_firewall/models/simple_url_pattern.rb +194 -0
  1630. data/lib/oci/network_firewall/models/sort_order.rb +11 -0
  1631. data/lib/oci/network_firewall/models/ssl_forward_proxy_profile.rb +276 -0
  1632. data/lib/oci/network_firewall/models/ssl_inbound_inspection_profile.rb +190 -0
  1633. data/lib/oci/network_firewall/models/tcp_application.rb +176 -0
  1634. data/lib/oci/network_firewall/models/udp_application.rb +176 -0
  1635. data/lib/oci/network_firewall/models/update_network_firewall_details.rb +214 -0
  1636. data/lib/oci/network_firewall/models/update_network_firewall_policy_details.rb +303 -0
  1637. data/lib/oci/network_firewall/models/url_pattern.rb +188 -0
  1638. data/lib/oci/network_firewall/models/vault_mapped_secret.rb +180 -0
  1639. data/lib/oci/network_firewall/models/work_request.rb +313 -0
  1640. data/lib/oci/network_firewall/models/work_request_error.rb +173 -0
  1641. data/lib/oci/network_firewall/models/work_request_error_collection.rb +150 -0
  1642. data/lib/oci/network_firewall/models/work_request_log_entry.rb +160 -0
  1643. data/lib/oci/network_firewall/models/work_request_log_entry_collection.rb +150 -0
  1644. data/lib/oci/network_firewall/models/work_request_resource.rb +230 -0
  1645. data/lib/oci/network_firewall/models/work_request_resource_metadata_key.rb +10 -0
  1646. data/lib/oci/network_firewall/models/work_request_summary.rb +313 -0
  1647. data/lib/oci/network_firewall/models/work_request_summary_collection.rb +150 -0
  1648. data/lib/oci/network_firewall/network_firewall.rb +62 -0
  1649. data/lib/oci/network_firewall/network_firewall_client.rb +1229 -0
  1650. data/lib/oci/network_firewall/network_firewall_client_composite_operations.rb +371 -0
  1651. data/lib/oci/network_firewall/util.rb +3 -0
  1652. data/lib/oci/oce/models/create_oce_instance_details.rb +15 -1
  1653. data/lib/oci/oce/models/lifecycle_details.rb +13 -0
  1654. data/lib/oci/oce/models/lifecycle_state.rb +15 -0
  1655. data/lib/oci/oce/models/oce_instance.rb +51 -2
  1656. data/lib/oci/oce/models/oce_instance_summary.rb +51 -2
  1657. data/lib/oci/oce/models/update_oce_instance_details.rb +15 -1
  1658. data/lib/oci/oce/oce.rb +2 -0
  1659. data/lib/oci/oce/oce_instance_client.rb +3 -4
  1660. data/lib/oci/ocvp/models/create_esxi_host_details.rb +51 -5
  1661. data/lib/oci/ocvp/models/create_sddc_details.rb +66 -1
  1662. data/lib/oci/ocvp/models/esxi_host.rb +50 -5
  1663. data/lib/oci/ocvp/models/esxi_host_summary.rb +35 -5
  1664. data/lib/oci/ocvp/models/sddc.rb +64 -1
  1665. data/lib/oci/ocvp/models/sddc_summary.rb +49 -1
  1666. data/lib/oci/ocvp/models/sddc_types.rb +11 -0
  1667. data/lib/oci/ocvp/models/supported_host_shape_collection.rb +150 -0
  1668. data/lib/oci/ocvp/models/supported_host_shape_summary.rb +328 -0
  1669. data/lib/oci/ocvp/ocvp.rb +3 -0
  1670. data/lib/oci/ocvp/sddc_client.rb +75 -0
  1671. data/lib/oci/oda/management_client.rb +3131 -0
  1672. data/lib/oci/oda/management_client_composite_operations.rb +847 -0
  1673. data/lib/oci/oda/models/android_channel.rb +230 -0
  1674. data/lib/oci/oda/models/app_event_channel.rb +232 -0
  1675. data/lib/oci/oda/models/application_channel.rb +232 -0
  1676. data/lib/oci/oda/models/authentication_grant_type.rb +11 -0
  1677. data/lib/oci/oda/models/authentication_identity_provider.rb +13 -0
  1678. data/lib/oci/oda/models/authentication_provider.rb +476 -0
  1679. data/lib/oci/oda/models/authentication_provider_collection.rb +150 -0
  1680. data/lib/oci/oda/models/authentication_provider_summary.rb +327 -0
  1681. data/lib/oci/oda/models/bot.rb +420 -0
  1682. data/lib/oci/oda/models/bot_multilingual_mode.rb +11 -0
  1683. data/lib/oci/oda/models/bot_publish_state.rb +11 -0
  1684. data/lib/oci/oda/models/channel.rb +389 -0
  1685. data/lib/oci/oda/models/channel_category.rb +15 -0
  1686. data/lib/oci/oda/models/channel_collection.rb +150 -0
  1687. data/lib/oci/oda/models/channel_summary.rb +345 -0
  1688. data/lib/oci/oda/models/channel_type.rb +24 -0
  1689. data/lib/oci/oda/models/clone_digital_assistant_details.rb +224 -0
  1690. data/lib/oci/oda/models/clone_skill_details.rb +224 -0
  1691. data/lib/oci/oda/models/configure_digital_assistant_parameters_details.rb +150 -0
  1692. data/lib/oci/oda/models/cortana_channel.rb +232 -0
  1693. data/lib/oci/oda/models/create_android_channel_details.rb +210 -0
  1694. data/lib/oci/oda/models/create_android_channel_result.rb +246 -0
  1695. data/lib/oci/oda/models/create_app_event_channel_details.rb +196 -0
  1696. data/lib/oci/oda/models/create_app_event_channel_result.rb +248 -0
  1697. data/lib/oci/oda/models/create_application_channel_details.rb +196 -0
  1698. data/lib/oci/oda/models/create_application_channel_result.rb +248 -0
  1699. data/lib/oci/oda/models/create_authentication_provider_details.rb +403 -0
  1700. data/lib/oci/oda/models/create_bot_kind.rb +13 -0
  1701. data/lib/oci/oda/models/create_channel_details.rb +272 -0
  1702. data/lib/oci/oda/models/create_channel_result.rb +389 -0
  1703. data/lib/oci/oda/models/create_cortana_channel_details.rb +210 -0
  1704. data/lib/oci/oda/models/create_cortana_channel_result.rb +232 -0
  1705. data/lib/oci/oda/models/create_digital_assistant_details.rb +291 -0
  1706. data/lib/oci/oda/models/create_digital_assistant_version_details.rb +198 -0
  1707. data/lib/oci/oda/models/create_facebook_channel_details.rb +210 -0
  1708. data/lib/oci/oda/models/create_facebook_channel_result.rb +235 -0
  1709. data/lib/oci/oda/models/create_imported_package_details.rb +200 -0
  1710. data/lib/oci/oda/models/create_ios_channel_details.rb +210 -0
  1711. data/lib/oci/oda/models/create_ios_channel_result.rb +246 -0
  1712. data/lib/oci/oda/models/create_ms_teams_channel_details.rb +210 -0
  1713. data/lib/oci/oda/models/create_ms_teams_channel_result.rb +232 -0
  1714. data/lib/oci/oda/models/create_new_digital_assistant_details.rb +228 -0
  1715. data/lib/oci/oda/models/create_new_skill_details.rb +228 -0
  1716. data/lib/oci/oda/models/create_oda_instance_attachment_details.rb +250 -0
  1717. data/lib/oci/oda/models/create_oda_instance_details.rb +35 -6
  1718. data/lib/oci/oda/models/create_oss_channel_details.rb +308 -0
  1719. data/lib/oci/oda/models/create_oss_channel_result.rb +314 -0
  1720. data/lib/oci/oda/models/create_osvc_channel_details.rb +289 -0
  1721. data/lib/oci/oda/models/create_osvc_channel_result.rb +306 -0
  1722. data/lib/oci/oda/models/create_service_cloud_channel_details.rb +263 -0
  1723. data/lib/oci/oda/models/create_service_cloud_channel_result.rb +280 -0
  1724. data/lib/oci/oda/models/create_skill_details.rb +291 -0
  1725. data/lib/oci/oda/models/create_skill_parameter_details.rb +210 -0
  1726. data/lib/oci/oda/models/create_skill_version_details.rb +198 -0
  1727. data/lib/oci/oda/models/create_slack_channel_details.rb +252 -0
  1728. data/lib/oci/oda/models/create_slack_channel_result.rb +260 -0
  1729. data/lib/oci/oda/models/create_test_channel_result.rb +220 -0
  1730. data/lib/oci/oda/models/create_translator_details.rb +235 -0
  1731. data/lib/oci/oda/models/create_twilio_channel_details.rb +252 -0
  1732. data/lib/oci/oda/models/create_twilio_channel_result.rb +274 -0
  1733. data/lib/oci/oda/models/create_web_channel_details.rb +231 -0
  1734. data/lib/oci/oda/models/create_web_channel_result.rb +267 -0
  1735. data/lib/oci/oda/models/create_webhook_channel_details.rb +223 -0
  1736. data/lib/oci/oda/models/create_webhook_channel_result.rb +282 -0
  1737. data/lib/oci/oda/models/default_parameter_values.rb +154 -0
  1738. data/lib/oci/oda/models/digital_assistant.rb +436 -0
  1739. data/lib/oci/oda/models/digital_assistant_collection.rb +150 -0
  1740. data/lib/oci/oda/models/digital_assistant_parameter.rb +252 -0
  1741. data/lib/oci/oda/models/digital_assistant_parameter_collection.rb +150 -0
  1742. data/lib/oci/oda/models/digital_assistant_parameter_summary.rb +255 -0
  1743. data/lib/oci/oda/models/digital_assistant_parameter_value.rb +186 -0
  1744. data/lib/oci/oda/models/digital_assistant_summary.rb +354 -0
  1745. data/lib/oci/oda/models/export_bot_details.rb +150 -0
  1746. data/lib/oci/oda/models/export_digital_assistant_details.rb +147 -0
  1747. data/lib/oci/oda/models/export_skill_details.rb +147 -0
  1748. data/lib/oci/oda/models/extend_digital_assistant_details.rb +224 -0
  1749. data/lib/oci/oda/models/extend_skill_details.rb +224 -0
  1750. data/lib/oci/oda/models/facebook_channel.rb +218 -0
  1751. data/lib/oci/oda/models/import_bot_details.rb +150 -0
  1752. data/lib/oci/oda/models/import_contract.rb +154 -0
  1753. data/lib/oci/oda/models/imported_package.rb +321 -0
  1754. data/lib/oci/oda/models/imported_package_summary.rb +272 -0
  1755. data/lib/oci/oda/models/ios_channel.rb +230 -0
  1756. data/lib/oci/oda/models/lifecycle_state.rb +16 -0
  1757. data/lib/oci/oda/models/metadata_property.rb +160 -0
  1758. data/lib/oci/oda/models/ms_teams_channel.rb +232 -0
  1759. data/lib/oci/oda/models/oda_instance.rb +136 -4
  1760. data/lib/oci/oda/models/oda_instance_attachment.rb +344 -0
  1761. data/lib/oci/oda/models/oda_instance_attachment_collection.rb +150 -0
  1762. data/lib/oci/oda/models/oda_instance_attachment_owner.rb +168 -0
  1763. data/lib/oci/oda/models/oda_instance_attachment_summary.rb +322 -0
  1764. data/lib/oci/oda/models/oda_instance_owner.rb +168 -0
  1765. data/lib/oci/oda/models/oda_instance_summary.rb +67 -5
  1766. data/lib/oci/oda/models/oss_channel.rb +314 -0
  1767. data/lib/oci/oda/models/osvc_channel.rb +306 -0
  1768. data/lib/oci/oda/models/osvc_service_type.rb +11 -0
  1769. data/lib/oci/oda/models/package.rb +339 -0
  1770. data/lib/oci/oda/models/package_summary.rb +297 -0
  1771. data/lib/oci/oda/models/parameter.rb +242 -0
  1772. data/lib/oci/oda/models/parameter_definition.rb +329 -0
  1773. data/lib/oci/oda/models/parameter_type.rb +14 -0
  1774. data/lib/oci/oda/models/resource_type_default_parameter_values.rb +168 -0
  1775. data/lib/oci/oda/models/resource_type_import_contract.rb +164 -0
  1776. data/lib/oci/oda/models/resource_type_metadata.rb +164 -0
  1777. data/lib/oci/oda/models/restricted_operation.rb +168 -0
  1778. data/lib/oci/oda/models/service_cloud_channel.rb +280 -0
  1779. data/lib/oci/oda/models/service_cloud_client_type.rb +11 -0
  1780. data/lib/oci/oda/models/skill.rb +436 -0
  1781. data/lib/oci/oda/models/skill_collection.rb +150 -0
  1782. data/lib/oci/oda/models/skill_parameter.rb +252 -0
  1783. data/lib/oci/oda/models/skill_parameter_collection.rb +150 -0
  1784. data/lib/oci/oda/models/skill_parameter_summary.rb +255 -0
  1785. data/lib/oci/oda/models/skill_summary.rb +354 -0
  1786. data/lib/oci/oda/models/slack_channel.rb +260 -0
  1787. data/lib/oci/oda/models/storage_location.rb +210 -0
  1788. data/lib/oci/oda/models/test_channel.rb +204 -0
  1789. data/lib/oci/oda/models/translation_service.rb +11 -0
  1790. data/lib/oci/oda/models/translator.rb +314 -0
  1791. data/lib/oci/oda/models/translator_collection.rb +150 -0
  1792. data/lib/oci/oda/models/translator_summary.rb +288 -0
  1793. data/lib/oci/oda/models/twilio_channel.rb +274 -0
  1794. data/lib/oci/oda/models/update_android_channel_details.rb +206 -0
  1795. data/lib/oci/oda/models/update_app_event_channel_details.rb +192 -0
  1796. data/lib/oci/oda/models/update_application_channel_details.rb +192 -0
  1797. data/lib/oci/oda/models/update_authentication_provider_details.rb +321 -0
  1798. data/lib/oci/oda/models/update_channel_details.rb +261 -0
  1799. data/lib/oci/oda/models/update_cortana_channel_details.rb +206 -0
  1800. data/lib/oci/oda/models/update_digital_assistant_details.rb +192 -0
  1801. data/lib/oci/oda/models/update_digital_assistant_parameter_details.rb +150 -0
  1802. data/lib/oci/oda/models/update_facebook_channel_details.rb +206 -0
  1803. data/lib/oci/oda/models/update_imported_package_details.rb +200 -0
  1804. data/lib/oci/oda/models/update_ios_channel_details.rb +206 -0
  1805. data/lib/oci/oda/models/update_ms_teams_channel_details.rb +206 -0
  1806. data/lib/oci/oda/models/update_oda_instance_attachment_details.rb +210 -0
  1807. data/lib/oci/oda/models/update_oda_instance_details.rb +1 -2
  1808. data/lib/oci/oda/models/update_oss_channel_details.rb +304 -0
  1809. data/lib/oci/oda/models/update_osvc_channel_details.rb +285 -0
  1810. data/lib/oci/oda/models/update_service_cloud_channel_details.rb +259 -0
  1811. data/lib/oci/oda/models/update_skill_details.rb +192 -0
  1812. data/lib/oci/oda/models/update_skill_parameter_details.rb +174 -0
  1813. data/lib/oci/oda/models/update_slack_channel_details.rb +248 -0
  1814. data/lib/oci/oda/models/update_translator_details.rb +212 -0
  1815. data/lib/oci/oda/models/update_twilio_channel_details.rb +248 -0
  1816. data/lib/oci/oda/models/update_web_channel_details.rb +227 -0
  1817. data/lib/oci/oda/models/update_webhook_channel_details.rb +219 -0
  1818. data/lib/oci/oda/models/web_channel.rb +251 -0
  1819. data/lib/oci/oda/models/webhook_channel.rb +266 -0
  1820. data/lib/oci/oda/models/webhook_payload_version.rb +11 -0
  1821. data/lib/oci/oda/models/work_request.rb +20 -0
  1822. data/lib/oci/oda/models/work_request_resource.rb +9 -0
  1823. data/lib/oci/oda/models/work_request_summary.rb +19 -0
  1824. data/lib/oci/oda/oda.rb +148 -0
  1825. data/lib/oci/oda/oda_client.rb +349 -2
  1826. data/lib/oci/oda/oda_client_composite_operations.rb +151 -0
  1827. data/lib/oci/oda/odapackage_client.rb +644 -0
  1828. data/lib/oci/oda/odapackage_client_composite_operations.rb +176 -0
  1829. data/lib/oci/onesubscription/billing_schedule_client.rb +193 -0
  1830. data/lib/oci/onesubscription/billing_schedule_client_composite_operations.rb +25 -0
  1831. data/lib/oci/onesubscription/commitment_client.rb +245 -0
  1832. data/lib/oci/onesubscription/commitment_client_composite_operations.rb +25 -0
  1833. data/lib/oci/onesubscription/computed_usage_client.rb +355 -0
  1834. data/lib/oci/onesubscription/computed_usage_client_composite_operations.rb +25 -0
  1835. data/lib/oci/onesubscription/invoice_summary_client.rb +290 -0
  1836. data/lib/oci/onesubscription/invoice_summary_client_composite_operations.rb +25 -0
  1837. data/lib/oci/onesubscription/models/aggregated_computed_usage_summary.rb +312 -0
  1838. data/lib/oci/onesubscription/models/billing_schedule_product.rb +166 -0
  1839. data/lib/oci/onesubscription/models/billing_schedule_summary.rb +342 -0
  1840. data/lib/oci/onesubscription/models/commitment.rb +254 -0
  1841. data/lib/oci/onesubscription/models/commitment_service.rb +227 -0
  1842. data/lib/oci/onesubscription/models/commitment_summary.rb +254 -0
  1843. data/lib/oci/onesubscription/models/computed_usage.rb +525 -0
  1844. data/lib/oci/onesubscription/models/computed_usage_aggregation.rb +276 -0
  1845. data/lib/oci/onesubscription/models/computed_usage_product.rb +242 -0
  1846. data/lib/oci/onesubscription/models/computed_usage_summary.rb +529 -0
  1847. data/lib/oci/onesubscription/models/invoice_line_summary.rb +222 -0
  1848. data/lib/oci/onesubscription/models/invoice_summary.rb +405 -0
  1849. data/lib/oci/onesubscription/models/invoiceline_computed_usage_summary.rb +271 -0
  1850. data/lib/oci/onesubscription/models/invoicing_address.rb +262 -0
  1851. data/lib/oci/onesubscription/models/invoicing_business_partner.rb +272 -0
  1852. data/lib/oci/onesubscription/models/invoicing_currency.rb +182 -0
  1853. data/lib/oci/onesubscription/models/invoicing_location.rb +226 -0
  1854. data/lib/oci/onesubscription/models/invoicing_organization.rb +163 -0
  1855. data/lib/oci/onesubscription/models/invoicing_payment_term.rb +249 -0
  1856. data/lib/oci/onesubscription/models/invoicing_product.rb +227 -0
  1857. data/lib/oci/onesubscription/models/invoicing_user.rb +253 -0
  1858. data/lib/oci/onesubscription/models/organization_subscription_summary.rb +243 -0
  1859. data/lib/oci/onesubscription/models/orgnization_subs_currency.rb +182 -0
  1860. data/lib/oci/onesubscription/models/rate_card_product.rb +227 -0
  1861. data/lib/oci/onesubscription/models/rate_card_summary.rb +280 -0
  1862. data/lib/oci/onesubscription/models/rate_card_tier.rb +186 -0
  1863. data/lib/oci/onesubscription/models/subscribed_service.rb +1752 -0
  1864. data/lib/oci/onesubscription/models/subscribed_service_address.rb +262 -0
  1865. data/lib/oci/onesubscription/models/subscribed_service_business_partner.rb +272 -0
  1866. data/lib/oci/onesubscription/models/subscribed_service_location.rb +226 -0
  1867. data/lib/oci/onesubscription/models/subscribed_service_payment_term.rb +249 -0
  1868. data/lib/oci/onesubscription/models/subscribed_service_summary.rb +1722 -0
  1869. data/lib/oci/onesubscription/models/subscribed_service_user.rb +249 -0
  1870. data/lib/oci/onesubscription/models/subscription_currency.rb +182 -0
  1871. data/lib/oci/onesubscription/models/subscription_product.rb +197 -0
  1872. data/lib/oci/onesubscription/models/subscription_subscribed_service.rb +495 -0
  1873. data/lib/oci/onesubscription/models/subscription_summary.rb +252 -0
  1874. data/lib/oci/onesubscription/onesubscription.rb +63 -0
  1875. data/lib/oci/onesubscription/organization_subscription_client.rb +185 -0
  1876. data/lib/oci/onesubscription/organization_subscription_client_composite_operations.rb +25 -0
  1877. data/lib/oci/onesubscription/ratecard_client.rb +195 -0
  1878. data/lib/oci/onesubscription/ratecard_client_composite_operations.rb +25 -0
  1879. data/lib/oci/onesubscription/subscribed_service_client.rb +261 -0
  1880. data/lib/oci/onesubscription/subscribed_service_client_composite_operations.rb +25 -0
  1881. data/lib/oci/onesubscription/subscription_client.rb +196 -0
  1882. data/lib/oci/onesubscription/subscription_client_composite_operations.rb +25 -0
  1883. data/lib/oci/onesubscription/util.rb +3 -0
  1884. data/lib/oci/operator_access_control/access_requests_client.rb +131 -0
  1885. data/lib/oci/operator_access_control/access_requests_client_composite_operations.rb +40 -0
  1886. data/lib/oci/operator_access_control/models/access_request.rb +1 -0
  1887. data/lib/oci/operator_access_control/models/access_request_history_summary.rb +1 -0
  1888. data/lib/oci/operator_access_control/models/access_request_lifecycle_states.rb +1 -0
  1889. data/lib/oci/operator_access_control/models/access_request_summary.rb +1 -0
  1890. data/lib/oci/operator_access_control/models/interaction_collection.rb +150 -0
  1891. data/lib/oci/operator_access_control/models/interaction_request_details.rb +154 -0
  1892. data/lib/oci/operator_access_control/models/interaction_summary.rb +217 -0
  1893. data/lib/oci/operator_access_control/operator_access_control.rb +3 -0
  1894. data/lib/oci/opsi/models/autonomous_database_insight.rb +5 -1
  1895. data/lib/oci/opsi/models/autonomous_database_insight_summary.rb +5 -1
  1896. data/lib/oci/opsi/models/change_operations_insights_private_endpoint_compartment_details.rb +154 -0
  1897. data/lib/oci/opsi/models/change_pe_comanaged_database_insight_details.rb +182 -0
  1898. data/lib/oci/opsi/models/connection_details.rb +1 -1
  1899. data/lib/oci/opsi/models/create_database_insight_details.rb +3 -1
  1900. data/lib/oci/opsi/models/create_host_insight_details.rb +2 -1
  1901. data/lib/oci/opsi/models/create_operations_insights_private_endpoint_details.rb +269 -0
  1902. data/lib/oci/opsi/models/create_pe_comanaged_database_insight_details.rb +288 -0
  1903. data/lib/oci/opsi/models/credential_by_vault.rb +209 -0
  1904. data/lib/oci/opsi/models/credential_details.rb +2 -0
  1905. data/lib/oci/opsi/models/data_object_column_metadata.rb +266 -0
  1906. data/lib/oci/opsi/models/data_object_column_unit.rb +219 -0
  1907. data/lib/oci/opsi/models/data_object_core_column_unit.rb +182 -0
  1908. data/lib/oci/opsi/models/data_object_custom_column_unit.rb +162 -0
  1909. data/lib/oci/opsi/models/data_object_data_size_column_unit.rb +192 -0
  1910. data/lib/oci/opsi/models/data_object_frequency_column_unit.rb +185 -0
  1911. data/lib/oci/opsi/models/data_object_other_standard_column_unit.rb +194 -0
  1912. data/lib/oci/opsi/models/data_object_power_column_unit.rb +185 -0
  1913. data/lib/oci/opsi/models/data_object_query.rb +182 -0
  1914. data/lib/oci/opsi/models/data_object_query_time_filters.rb +191 -0
  1915. data/lib/oci/opsi/models/data_object_rate_column_unit.rb +170 -0
  1916. data/lib/oci/opsi/models/data_object_temperature_column_unit.rb +182 -0
  1917. data/lib/oci/opsi/models/data_object_templatized_query.rb +235 -0
  1918. data/lib/oci/opsi/models/data_object_time_column_unit.rb +190 -0
  1919. data/lib/oci/opsi/models/database_configuration_summary.rb +2 -0
  1920. data/lib/oci/opsi/models/database_entity_source.rb +2 -1
  1921. data/lib/oci/opsi/models/database_entity_source_all.rb +2 -1
  1922. data/lib/oci/opsi/models/database_insight.rb +20 -4
  1923. data/lib/oci/opsi/models/database_insight_summary.rb +20 -4
  1924. data/lib/oci/opsi/models/database_insights_data_object.rb +161 -0
  1925. data/lib/oci/opsi/models/database_insights_data_object_summary.rb +157 -0
  1926. data/lib/oci/opsi/models/em_managed_external_database_insight.rb +5 -1
  1927. data/lib/oci/opsi/models/em_managed_external_database_insight_summary.rb +5 -1
  1928. data/lib/oci/opsi/models/em_managed_external_host_insight.rb +2 -1
  1929. data/lib/oci/opsi/models/em_managed_external_host_insight_summary.rb +7 -2
  1930. data/lib/oci/opsi/models/enable_database_insight_details.rb +3 -1
  1931. data/lib/oci/opsi/models/enable_host_insight_details.rb +2 -1
  1932. data/lib/oci/opsi/models/enable_pe_comanaged_database_insight_details.rb +252 -0
  1933. data/lib/oci/opsi/models/exadata_insight_resource_insight_utilization_item.rb +15 -1
  1934. data/lib/oci/opsi/models/exadata_insights_data_object.rb +161 -0
  1935. data/lib/oci/opsi/models/exadata_insights_data_object_summary.rb +157 -0
  1936. data/lib/oci/opsi/models/exadata_member_summary.rb +1 -0
  1937. data/lib/oci/opsi/models/host_configuration_summary.rb +4 -1
  1938. data/lib/oci/opsi/models/host_details.rb +2 -1
  1939. data/lib/oci/opsi/models/host_entity_source.rb +2 -1
  1940. data/lib/oci/opsi/models/host_importable_agent_entity_summary.rb +2 -1
  1941. data/lib/oci/opsi/models/host_insight.rb +1 -0
  1942. data/lib/oci/opsi/models/host_insight_summary.rb +16 -1
  1943. data/lib/oci/opsi/models/host_insights_data_object.rb +161 -0
  1944. data/lib/oci/opsi/models/host_insights_data_object_summary.rb +157 -0
  1945. data/lib/oci/opsi/models/host_performance_metric_group.rb +3 -1
  1946. data/lib/oci/opsi/models/host_top_processes.rb +287 -0
  1947. data/lib/oci/opsi/models/macs_managed_external_database_insight.rb +5 -1
  1948. data/lib/oci/opsi/models/macs_managed_external_database_insight_summary.rb +5 -1
  1949. data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +2 -1
  1950. data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +7 -2
  1951. data/lib/oci/opsi/models/operation_type.rb +6 -1
  1952. data/lib/oci/opsi/models/operations_insights_private_endpoint.rb +391 -0
  1953. data/lib/oci/opsi/models/operations_insights_private_endpoint_collection.rb +150 -0
  1954. data/lib/oci/opsi/models/operations_insights_private_endpoint_lifecycle_state.rb +16 -0
  1955. data/lib/oci/opsi/models/operations_insights_private_endpoint_summary.rb +361 -0
  1956. data/lib/oci/opsi/models/opsi_data_object.rb +241 -0
  1957. data/lib/oci/opsi/models/opsi_data_object_summary.rb +227 -0
  1958. data/lib/oci/opsi/models/opsi_data_object_type.rb +12 -0
  1959. data/lib/oci/opsi/models/opsi_data_objects.rb +154 -0
  1960. data/lib/oci/opsi/models/opsi_data_objects_collection.rb +150 -0
  1961. data/lib/oci/opsi/models/pe_comanaged_database_connection_details.rb +194 -0
  1962. data/lib/oci/opsi/models/pe_comanaged_database_host_details.rb +164 -0
  1963. data/lib/oci/opsi/models/pe_comanaged_database_insight.rb +300 -0
  1964. data/lib/oci/opsi/models/pe_comanaged_database_insight_summary.rb +248 -0
  1965. data/lib/oci/opsi/models/pe_comanaged_host_configuration_summary.rb +252 -0
  1966. data/lib/oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.rb +240 -0
  1967. data/lib/oci/opsi/models/query_data_object_json_result_set_rows_collection.rb +172 -0
  1968. data/lib/oci/opsi/models/query_data_object_result_set_column_metadata.rb +185 -0
  1969. data/lib/oci/opsi/models/query_data_object_result_set_rows_collection.rb +185 -0
  1970. data/lib/oci/opsi/models/query_opsi_data_object_data_details.rb +177 -0
  1971. data/lib/oci/opsi/models/resource_filters.rb +233 -0
  1972. data/lib/oci/opsi/models/resource_usage_summary.rb +15 -1
  1973. data/lib/oci/opsi/models/summarize_exadata_insight_resource_statistics_aggregation_collection.rb +18 -4
  1974. data/lib/oci/opsi/models/summarize_host_insights_top_processes_usage_trend_collection.rb +179 -0
  1975. data/lib/oci/opsi/models/top_processes_usage_trend.rb +238 -0
  1976. data/lib/oci/opsi/models/top_processes_usage_trend_aggregation.rb +164 -0
  1977. data/lib/oci/opsi/models/update_database_insight_details.rb +3 -1
  1978. data/lib/oci/opsi/models/update_host_insight_details.rb +2 -1
  1979. data/lib/oci/opsi/models/update_operations_insights_private_endpoint_details.rb +210 -0
  1980. data/lib/oci/opsi/models/update_pe_comanaged_database_insight_details.rb +153 -0
  1981. data/lib/oci/opsi/models/work_request.rb +5 -0
  1982. data/lib/oci/opsi/operations_insights_client.rb +945 -110
  1983. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +248 -0
  1984. data/lib/oci/opsi/opsi.rb +52 -0
  1985. data/lib/oci/os_management/models/create_scheduled_job_details.rb +7 -1
  1986. data/lib/oci/os_management/models/manage_module_streams_on_managed_instance_details.rb +199 -0
  1987. data/lib/oci/os_management/models/module_stream.rb +244 -0
  1988. data/lib/oci/os_management/models/module_stream_details.rb +168 -0
  1989. data/lib/oci/os_management/models/module_stream_on_managed_instance_summary.rb +256 -0
  1990. data/lib/oci/os_management/models/module_stream_profile.rb +220 -0
  1991. data/lib/oci/os_management/models/module_stream_profile_details.rb +182 -0
  1992. data/lib/oci/os_management/models/module_stream_profile_on_managed_instance_summary.rb +236 -0
  1993. data/lib/oci/os_management/models/module_stream_profile_summary.rb +182 -0
  1994. data/lib/oci/os_management/models/module_stream_summary.rb +184 -0
  1995. data/lib/oci/os_management/models/operation_types.rb +7 -1
  1996. data/lib/oci/os_management/models/scheduled_job.rb +6 -0
  1997. data/lib/oci/os_management/models/scheduled_job_summary.rb +6 -0
  1998. data/lib/oci/os_management/models/update_module_details.rb +164 -0
  1999. data/lib/oci/os_management/models/update_module_stream_details.rb +261 -0
  2000. data/lib/oci/os_management/models/update_module_stream_profile_details.rb +215 -0
  2001. data/lib/oci/os_management/models/update_module_stream_state_details.rb +150 -0
  2002. data/lib/oci/os_management/models/update_scheduled_job_details.rb +7 -1
  2003. data/lib/oci/os_management/models/work_request.rb +38 -4
  2004. data/lib/oci/os_management/models/work_request_summary.rb +6 -0
  2005. data/lib/oci/os_management/os_management.rb +13 -0
  2006. data/lib/oci/os_management/os_management_client.rb +1172 -73
  2007. data/lib/oci/os_management/os_management_client_composite_operations.rb +605 -6
  2008. data/lib/oci/osp_gateway/models/credit_card_payment_detail.rb +88 -4
  2009. data/lib/oci/osp_gateway/models/credit_card_payment_option.rb +88 -4
  2010. data/lib/oci/osp_gateway/models/other_payment_detail.rb +102 -4
  2011. data/lib/oci/osp_gateway/models/paypal_payment_detail.rb +35 -4
  2012. data/lib/oci/osp_gateway/models/paypal_payment_option.rb +63 -4
  2013. data/lib/oci/regions_definitions.rb +3 -0
  2014. data/lib/oci/resource_manager/models/change_private_endpoint_compartment_details.rb +157 -0
  2015. data/lib/oci/resource_manager/models/config_source.rb +4 -1
  2016. data/lib/oci/resource_manager/models/configuration_source_provider.rb +14 -1
  2017. data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +14 -1
  2018. data/lib/oci/resource_manager/models/create_config_source_details.rb +5 -2
  2019. data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +14 -1
  2020. data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +5 -1
  2021. data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +5 -1
  2022. data/lib/oci/resource_manager/models/create_object_storage_config_source_details.rb +1 -1
  2023. data/lib/oci/resource_manager/models/create_private_endpoint_details.rb +284 -0
  2024. data/lib/oci/resource_manager/models/failure_details.rb +2 -0
  2025. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +5 -1
  2026. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +5 -1
  2027. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +5 -1
  2028. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +5 -1
  2029. data/lib/oci/resource_manager/models/job.rb +5 -2
  2030. data/lib/oci/resource_manager/models/object_storage_config_source.rb +1 -1
  2031. data/lib/oci/resource_manager/models/object_storage_config_source_record.rb +1 -1
  2032. data/lib/oci/resource_manager/models/private_endpoint.rb +363 -0
  2033. data/lib/oci/resource_manager/models/private_endpoint_collection.rb +151 -0
  2034. data/lib/oci/resource_manager/models/private_endpoint_summary.rb +304 -0
  2035. data/lib/oci/resource_manager/models/private_server_config_details.rb +171 -0
  2036. data/lib/oci/resource_manager/models/reachable_ip.rb +155 -0
  2037. data/lib/oci/resource_manager/models/terraform_advanced_options.rb +0 -1
  2038. data/lib/oci/resource_manager/models/update_config_source_details.rb +7 -1
  2039. data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +14 -1
  2040. data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +5 -1
  2041. data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +5 -1
  2042. data/lib/oci/resource_manager/models/update_object_storage_config_source_details.rb +1 -1
  2043. data/lib/oci/resource_manager/models/update_private_endpoint_details.rb +270 -0
  2044. data/lib/oci/resource_manager/models/work_request.rb +3 -0
  2045. data/lib/oci/resource_manager/resource_manager.rb +8 -0
  2046. data/lib/oci/resource_manager/resource_manager_client.rb +594 -0
  2047. data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +119 -0
  2048. data/lib/oci/resource_search/models/resource_summary.rb +24 -4
  2049. data/lib/oci/response.rb +1 -1
  2050. data/lib/oci/rover/models/cluster_type.rb +11 -0
  2051. data/lib/oci/rover/models/create_rover_cluster_details.rb +56 -1
  2052. data/lib/oci/rover/models/create_rover_node_details.rb +26 -2
  2053. data/lib/oci/rover/models/node_type.rb +2 -1
  2054. data/lib/oci/rover/models/rover_cluster.rb +92 -1
  2055. data/lib/oci/rover/models/rover_cluster_summary.rb +48 -1
  2056. data/lib/oci/rover/models/rover_node.rb +26 -1
  2057. data/lib/oci/rover/models/rover_node_summary.rb +45 -1
  2058. data/lib/oci/rover/models/shape_collection.rb +150 -0
  2059. data/lib/oci/rover/models/shape_summary.rb +321 -0
  2060. data/lib/oci/rover/models/update_rover_cluster_details.rb +15 -1
  2061. data/lib/oci/rover/models/update_rover_node_details.rb +11 -1
  2062. data/lib/oci/rover/rover.rb +4 -0
  2063. data/lib/oci/rover/rover_cluster_client.rb +6 -0
  2064. data/lib/oci/rover/rover_node_client.rb +8 -0
  2065. data/lib/oci/rover/shape_client.rb +178 -0
  2066. data/lib/oci/rover/shape_client_composite_operations.rb +25 -0
  2067. data/lib/oci/sch/models/jmes_path_dimension_value.rb +1 -1
  2068. data/lib/oci/sch/models/monitoring_source.rb +169 -0
  2069. data/lib/oci/sch/models/monitoring_source_all_metrics.rb +146 -0
  2070. data/lib/oci/sch/models/monitoring_source_details.rb +166 -0
  2071. data/lib/oci/sch/models/monitoring_source_metric_details.rb +187 -0
  2072. data/lib/oci/sch/models/monitoring_source_namespace_details.rb +187 -0
  2073. data/lib/oci/sch/models/monitoring_source_selected_namespace.rb +164 -0
  2074. data/lib/oci/sch/models/monitoring_source_selected_namespace_details.rb +160 -0
  2075. data/lib/oci/sch/models/source_details.rb +2 -0
  2076. data/lib/oci/sch/sch.rb +7 -0
  2077. data/lib/oci/secrets/secrets_client.rb +3 -3
  2078. data/lib/oci/service_mesh/models/access_logging_configuration.rb +156 -0
  2079. data/lib/oci/service_mesh/models/access_policy.rb +345 -0
  2080. data/lib/oci/service_mesh/models/access_policy_collection.rb +150 -0
  2081. data/lib/oci/service_mesh/models/access_policy_rule.rb +189 -0
  2082. data/lib/oci/service_mesh/models/access_policy_summary.rb +311 -0
  2083. data/lib/oci/service_mesh/models/access_policy_target.rb +191 -0
  2084. data/lib/oci/service_mesh/models/action_type.rb +15 -0
  2085. data/lib/oci/service_mesh/models/all_virtual_services_access_policy_target.rb +145 -0
  2086. data/lib/oci/service_mesh/models/ca_bundle.rb +187 -0
  2087. data/lib/oci/service_mesh/models/certificate_authority.rb +151 -0
  2088. data/lib/oci/service_mesh/models/change_access_policy_compartment_details.rb +155 -0
  2089. data/lib/oci/service_mesh/models/change_ingress_gateway_compartment_details.rb +155 -0
  2090. data/lib/oci/service_mesh/models/change_ingress_gateway_route_table_compartment_details.rb +155 -0
  2091. data/lib/oci/service_mesh/models/change_mesh_compartment_details.rb +155 -0
  2092. data/lib/oci/service_mesh/models/change_virtual_deployment_compartment_details.rb +155 -0
  2093. data/lib/oci/service_mesh/models/change_virtual_service_compartment_details.rb +155 -0
  2094. data/lib/oci/service_mesh/models/change_virtual_service_route_table_compartment_details.rb +155 -0
  2095. data/lib/oci/service_mesh/models/create_access_policy_details.rb +239 -0
  2096. data/lib/oci/service_mesh/models/create_ingress_gateway_details.rb +261 -0
  2097. data/lib/oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.rb +161 -0
  2098. data/lib/oci/service_mesh/models/create_ingress_gateway_route_table_details.rb +254 -0
  2099. data/lib/oci/service_mesh/models/create_mesh_details.rb +242 -0
  2100. data/lib/oci/service_mesh/models/create_mutual_transport_layer_security_details.rb +174 -0
  2101. data/lib/oci/service_mesh/models/create_virtual_deployment_details.rb +266 -0
  2102. data/lib/oci/service_mesh/models/create_virtual_service_details.rb +265 -0
  2103. data/lib/oci/service_mesh/models/create_virtual_service_route_table_details.rb +254 -0
  2104. data/lib/oci/service_mesh/models/default_virtual_service_routing_policy.rb +171 -0
  2105. data/lib/oci/service_mesh/models/dns_service_discovery_configuration.rb +158 -0
  2106. data/lib/oci/service_mesh/models/external_service_access_policy_target.rb +220 -0
  2107. data/lib/oci/service_mesh/models/http_ingress_gateway_traffic_route_rule.rb +254 -0
  2108. data/lib/oci/service_mesh/models/http_virtual_service_traffic_route_rule.rb +216 -0
  2109. data/lib/oci/service_mesh/models/ingress_gateway.rb +367 -0
  2110. data/lib/oci/service_mesh/models/ingress_gateway_access_policy_target.rb +162 -0
  2111. data/lib/oci/service_mesh/models/ingress_gateway_collection.rb +150 -0
  2112. data/lib/oci/service_mesh/models/ingress_gateway_host.rb +177 -0
  2113. data/lib/oci/service_mesh/models/ingress_gateway_host_ref.rb +163 -0
  2114. data/lib/oci/service_mesh/models/ingress_gateway_listener.rb +190 -0
  2115. data/lib/oci/service_mesh/models/ingress_gateway_mutual_transport_layer_security.rb +176 -0
  2116. data/lib/oci/service_mesh/models/ingress_gateway_route_table.rb +360 -0
  2117. data/lib/oci/service_mesh/models/ingress_gateway_route_table_collection.rb +150 -0
  2118. data/lib/oci/service_mesh/models/ingress_gateway_route_table_summary.rb +322 -0
  2119. data/lib/oci/service_mesh/models/ingress_gateway_summary.rb +311 -0
  2120. data/lib/oci/service_mesh/models/ingress_gateway_traffic_route_rule.rb +212 -0
  2121. data/lib/oci/service_mesh/models/ingress_listener_client_validation_config.rb +169 -0
  2122. data/lib/oci/service_mesh/models/ingress_listener_tls_config.rb +202 -0
  2123. data/lib/oci/service_mesh/models/local_file_ca_bundle.rb +165 -0
  2124. data/lib/oci/service_mesh/models/local_file_tls_certificate.rb +165 -0
  2125. data/lib/oci/service_mesh/models/mesh.rb +351 -0
  2126. data/lib/oci/service_mesh/models/mesh_collection.rb +150 -0
  2127. data/lib/oci/service_mesh/models/mesh_mutual_transport_layer_security.rb +154 -0
  2128. data/lib/oci/service_mesh/models/mesh_summary.rb +310 -0
  2129. data/lib/oci/service_mesh/models/mutual_transport_layer_security.rb +210 -0
  2130. data/lib/oci/service_mesh/models/oci_ca_bundle.rb +162 -0
  2131. data/lib/oci/service_mesh/models/oci_tls_certificate.rb +162 -0
  2132. data/lib/oci/service_mesh/models/operation_status.rb +16 -0
  2133. data/lib/oci/service_mesh/models/operation_type.rb +37 -0
  2134. data/lib/oci/service_mesh/models/proxy_details.rb +154 -0
  2135. data/lib/oci/service_mesh/models/service_discovery_configuration.rb +185 -0
  2136. data/lib/oci/service_mesh/models/sort_order.rb +11 -0
  2137. data/lib/oci/service_mesh/models/tcp_ingress_gateway_traffic_route_rule.rb +153 -0
  2138. data/lib/oci/service_mesh/models/tcp_virtual_service_traffic_route_rule.rb +149 -0
  2139. data/lib/oci/service_mesh/models/tls_certificate.rb +187 -0
  2140. data/lib/oci/service_mesh/models/tls_passthrough_ingress_gateway_traffic_route_rule.rb +153 -0
  2141. data/lib/oci/service_mesh/models/tls_passthrough_virtual_service_traffic_route_rule.rb +149 -0
  2142. data/lib/oci/service_mesh/models/traffic_rule_target.rb +180 -0
  2143. data/lib/oci/service_mesh/models/update_access_policy_details.rb +196 -0
  2144. data/lib/oci/service_mesh/models/update_ingress_gateway_details.rb +218 -0
  2145. data/lib/oci/service_mesh/models/update_ingress_gateway_route_table_details.rb +211 -0
  2146. data/lib/oci/service_mesh/models/update_mesh_details.rb +213 -0
  2147. data/lib/oci/service_mesh/models/update_virtual_deployment_details.rb +222 -0
  2148. data/lib/oci/service_mesh/models/update_virtual_service_details.rb +222 -0
  2149. data/lib/oci/service_mesh/models/update_virtual_service_route_table_details.rb +211 -0
  2150. data/lib/oci/service_mesh/models/virtual_deployment.rb +372 -0
  2151. data/lib/oci/service_mesh/models/virtual_deployment_collection.rb +150 -0
  2152. data/lib/oci/service_mesh/models/virtual_deployment_listener.rb +183 -0
  2153. data/lib/oci/service_mesh/models/virtual_deployment_summary.rb +311 -0
  2154. data/lib/oci/service_mesh/models/virtual_deployment_traffic_rule_target.rb +185 -0
  2155. data/lib/oci/service_mesh/models/virtual_service.rb +371 -0
  2156. data/lib/oci/service_mesh/models/virtual_service_access_policy_target.rb +162 -0
  2157. data/lib/oci/service_mesh/models/virtual_service_collection.rb +150 -0
  2158. data/lib/oci/service_mesh/models/virtual_service_route_table.rb +360 -0
  2159. data/lib/oci/service_mesh/models/virtual_service_route_table_collection.rb +150 -0
  2160. data/lib/oci/service_mesh/models/virtual_service_route_table_summary.rb +322 -0
  2161. data/lib/oci/service_mesh/models/virtual_service_summary.rb +311 -0
  2162. data/lib/oci/service_mesh/models/virtual_service_traffic_route_rule.rb +199 -0
  2163. data/lib/oci/service_mesh/models/virtual_service_traffic_rule_target.rb +187 -0
  2164. data/lib/oci/service_mesh/models/work_request.rb +329 -0
  2165. data/lib/oci/service_mesh/models/work_request_collection.rb +150 -0
  2166. data/lib/oci/service_mesh/models/work_request_error.rb +173 -0
  2167. data/lib/oci/service_mesh/models/work_request_error_collection.rb +150 -0
  2168. data/lib/oci/service_mesh/models/work_request_log_entry.rb +160 -0
  2169. data/lib/oci/service_mesh/models/work_request_log_entry_collection.rb +150 -0
  2170. data/lib/oci/service_mesh/models/work_request_resource.rb +220 -0
  2171. data/lib/oci/service_mesh/models/work_request_summary.rb +331 -0
  2172. data/lib/oci/service_mesh/service_mesh.rb +114 -0
  2173. data/lib/oci/service_mesh/service_mesh_client.rb +3167 -0
  2174. data/lib/oci/service_mesh/service_mesh_client_composite_operations.rb +1411 -0
  2175. data/lib/oci/service_mesh/util.rb +3 -0
  2176. data/lib/oci/stack_monitoring/models/action_type.rb +15 -0
  2177. data/lib/oci/stack_monitoring/models/associate_monitored_resources_details.rb +196 -0
  2178. data/lib/oci/stack_monitoring/models/association_resource_details.rb +160 -0
  2179. data/lib/oci/stack_monitoring/models/change_monitored_resource_compartment_details.rb +156 -0
  2180. data/lib/oci/stack_monitoring/models/connection_details.rb +236 -0
  2181. data/lib/oci/stack_monitoring/models/create_discovery_job_details.rb +245 -0
  2182. data/lib/oci/stack_monitoring/models/create_monitored_resource_details.rb +273 -0
  2183. data/lib/oci/stack_monitoring/models/credential_collection.rb +150 -0
  2184. data/lib/oci/stack_monitoring/models/credential_details.rb +179 -0
  2185. data/lib/oci/stack_monitoring/models/credential_property.rb +160 -0
  2186. data/lib/oci/stack_monitoring/models/disassociate_monitored_resources_details.rb +196 -0
  2187. data/lib/oci/stack_monitoring/models/discovery_details.rb +231 -0
  2188. data/lib/oci/stack_monitoring/models/discovery_job.rb +403 -0
  2189. data/lib/oci/stack_monitoring/models/discovery_job_collection.rb +150 -0
  2190. data/lib/oci/stack_monitoring/models/discovery_job_log_collection.rb +150 -0
  2191. data/lib/oci/stack_monitoring/models/discovery_job_log_summary.rb +214 -0
  2192. data/lib/oci/stack_monitoring/models/discovery_job_summary.rb +424 -0
  2193. data/lib/oci/stack_monitoring/models/encrypted_credentials.rb +189 -0
  2194. data/lib/oci/stack_monitoring/models/lifecycle_state.rb +15 -0
  2195. data/lib/oci/stack_monitoring/models/monitored_resource.rb +411 -0
  2196. data/lib/oci/stack_monitoring/models/monitored_resource_alias_credential.rb +170 -0
  2197. data/lib/oci/stack_monitoring/models/monitored_resource_alias_source_credential.rb +170 -0
  2198. data/lib/oci/stack_monitoring/models/monitored_resource_association.rb +298 -0
  2199. data/lib/oci/stack_monitoring/models/monitored_resource_association_summary.rb +270 -0
  2200. data/lib/oci/stack_monitoring/models/monitored_resource_associations_collection.rb +150 -0
  2201. data/lib/oci/stack_monitoring/models/monitored_resource_collection.rb +150 -0
  2202. data/lib/oci/stack_monitoring/models/monitored_resource_credential.rb +233 -0
  2203. data/lib/oci/stack_monitoring/models/monitored_resource_member_summary.rb +310 -0
  2204. data/lib/oci/stack_monitoring/models/monitored_resource_members_collection.rb +150 -0
  2205. data/lib/oci/stack_monitoring/models/monitored_resource_property.rb +160 -0
  2206. data/lib/oci/stack_monitoring/models/monitored_resource_summary.rb +326 -0
  2207. data/lib/oci/stack_monitoring/models/operation_status.rb +16 -0
  2208. data/lib/oci/stack_monitoring/models/operation_type.rb +16 -0
  2209. data/lib/oci/stack_monitoring/models/plain_text_credentials.rb +175 -0
  2210. data/lib/oci/stack_monitoring/models/pre_existing_credentials.rb +162 -0
  2211. data/lib/oci/stack_monitoring/models/property_details.rb +154 -0
  2212. data/lib/oci/stack_monitoring/models/resource_lifecycle_state.rb +15 -0
  2213. data/lib/oci/stack_monitoring/models/search_monitored_resource_associations_details.rb +310 -0
  2214. data/lib/oci/stack_monitoring/models/search_monitored_resource_members_details.rb +168 -0
  2215. data/lib/oci/stack_monitoring/models/search_monitored_resources_details.rb +437 -0
  2216. data/lib/oci/stack_monitoring/models/sort_order.rb +11 -0
  2217. data/lib/oci/stack_monitoring/models/update_monitored_resource_details.rb +225 -0
  2218. data/lib/oci/stack_monitoring/models/work_request.rb +312 -0
  2219. data/lib/oci/stack_monitoring/models/work_request_error.rb +173 -0
  2220. data/lib/oci/stack_monitoring/models/work_request_error_collection.rb +150 -0
  2221. data/lib/oci/stack_monitoring/models/work_request_log_entry.rb +160 -0
  2222. data/lib/oci/stack_monitoring/models/work_request_log_entry_collection.rb +150 -0
  2223. data/lib/oci/stack_monitoring/models/work_request_resource.rb +220 -0
  2224. data/lib/oci/stack_monitoring/models/work_request_summary.rb +312 -0
  2225. data/lib/oci/stack_monitoring/models/work_request_summary_collection.rb +150 -0
  2226. data/lib/oci/stack_monitoring/stack_monitoring.rb +70 -0
  2227. data/lib/oci/stack_monitoring/stack_monitoring_client.rb +1565 -0
  2228. data/lib/oci/stack_monitoring/stack_monitoring_client_composite_operations.rb +351 -0
  2229. data/lib/oci/stack_monitoring/util.rb +3 -0
  2230. data/lib/oci/tenant_manager_control_plane/models/assigned_subscription.rb +113 -3
  2231. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +8 -1
  2232. data/lib/oci/tenant_manager_control_plane/models/organization.rb +1 -1
  2233. data/lib/oci/tenant_manager_control_plane/models/organization_summary.rb +1 -1
  2234. data/lib/oci/tenant_manager_control_plane/models/promotion.rb +261 -0
  2235. data/lib/oci/tenant_manager_control_plane/models/subscription.rb +111 -1
  2236. data/lib/oci/tenant_manager_control_plane/models/subscription_mapping.rb +1 -1
  2237. data/lib/oci/tenant_manager_control_plane/models/update_organization_details.rb +2 -2
  2238. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +7 -0
  2239. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +7 -0
  2240. data/lib/oci/tenant_manager_control_plane/orders_client.rb +3 -3
  2241. data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +1 -1
  2242. data/lib/oci/tenant_manager_control_plane/organization_client.rb +60 -0
  2243. data/lib/oci/tenant_manager_control_plane/organization_client_composite_operations.rb +49 -0
  2244. data/lib/oci/tenant_manager_control_plane/subscription_client.rb +4 -3
  2245. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +1 -0
  2246. data/lib/oci/usage/models/create_redeemable_user_details.rb +2 -2
  2247. data/lib/oci/usage/models/monthly_reward_summary.rb +6 -6
  2248. data/lib/oci/usage/models/product_summary.rb +5 -5
  2249. data/lib/oci/usage/models/redeemable_user.rb +2 -2
  2250. data/lib/oci/usage/models/redeemable_user_collection.rb +2 -2
  2251. data/lib/oci/usage/models/redeemable_user_summary.rb +2 -2
  2252. data/lib/oci/usage/models/reward_collection.rb +1 -1
  2253. data/lib/oci/usage/models/reward_details.rb +21 -7
  2254. data/lib/oci/usage/rewards_client.rb +17 -17
  2255. data/lib/oci/usage_api/models/create_schedule_details.rb +253 -0
  2256. data/lib/oci/usage_api/models/date_range.rb +193 -0
  2257. data/lib/oci/usage_api/models/dynamic_date_range.rb +187 -0
  2258. data/lib/oci/usage_api/models/object_storage_location.rb +182 -0
  2259. data/lib/oci/usage_api/models/query_properties.rb +298 -0
  2260. data/lib/oci/usage_api/models/result_location.rb +192 -0
  2261. data/lib/oci/usage_api/models/schedule.rb +326 -0
  2262. data/lib/oci/usage_api/models/schedule_collection.rb +150 -0
  2263. data/lib/oci/usage_api/models/schedule_summary.rb +250 -0
  2264. data/lib/oci/usage_api/models/scheduled_run.rb +240 -0
  2265. data/lib/oci/usage_api/models/scheduled_run_collection.rb +150 -0
  2266. data/lib/oci/usage_api/models/scheduled_run_summary.rb +220 -0
  2267. data/lib/oci/usage_api/models/static_date_range.rb +176 -0
  2268. data/lib/oci/usage_api/models/update_schedule_details.rb +172 -0
  2269. data/lib/oci/usage_api/usage_api.rb +15 -0
  2270. data/lib/oci/usage_api/usageapi_client.rb +466 -0
  2271. data/lib/oci/usage_api/usageapi_client_composite_operations.rb +119 -0
  2272. data/lib/oci/vault/models/create_secret_details.rb +2 -1
  2273. data/lib/oci/vault/models/secret.rb +2 -1
  2274. data/lib/oci/vault/models/secret_expiry_rule.rb +1 -2
  2275. data/lib/oci/vault/models/secret_summary.rb +2 -1
  2276. data/lib/oci/vault/vaults_client.rb +4 -4
  2277. data/lib/oci/version.rb +1 -1
  2278. data/lib/oci/visual_builder/models/attachment_details.rb +235 -0
  2279. data/lib/oci/visual_builder/models/idcs_info_details.rb +212 -0
  2280. data/lib/oci/visual_builder/models/vb_instance.rb +28 -4
  2281. data/lib/oci/visual_builder/visual_builder.rb +2 -0
  2282. data/lib/oci/vn_monitoring/models/access_denied_traffic_node.rb +161 -0
  2283. data/lib/oci/vn_monitoring/models/action_type.rb +14 -0
  2284. data/lib/oci/vn_monitoring/models/add_drg_route_distribution_statement_details.rb +194 -0
  2285. data/lib/oci/vn_monitoring/models/add_drg_route_distribution_statements_details.rb +152 -0
  2286. data/lib/oci/vn_monitoring/models/add_drg_route_rule_details.rb +202 -0
  2287. data/lib/oci/vn_monitoring/models/add_drg_route_rules_details.rb +156 -0
  2288. data/lib/oci/vn_monitoring/models/add_network_security_group_security_rules_details.rb +154 -0
  2289. data/lib/oci/vn_monitoring/models/add_security_rule_details.rb +378 -0
  2290. data/lib/oci/vn_monitoring/models/added_network_security_group_security_rules.rb +154 -0
  2291. data/lib/oci/vn_monitoring/models/adhoc_get_path_analysis_details.rb +226 -0
  2292. data/lib/oci/vn_monitoring/models/allowed_security_action.rb +166 -0
  2293. data/lib/oci/vn_monitoring/models/allowed_security_action_details.rb +170 -0
  2294. data/lib/oci/vn_monitoring/models/allowed_security_configuration.rb +195 -0
  2295. data/lib/oci/vn_monitoring/models/bulk_add_virtual_circuit_public_prefixes_details.rb +154 -0
  2296. data/lib/oci/vn_monitoring/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +155 -0
  2297. data/lib/oci/vn_monitoring/models/change_path_analyzer_test_compartment_details.rb +156 -0
  2298. data/lib/oci/vn_monitoring/models/compartment_internal.rb +151 -0
  2299. data/lib/oci/vn_monitoring/models/compute_instance_endpoint.rb +190 -0
  2300. data/lib/oci/vn_monitoring/models/connect_local_peering_gateways_details.rb +154 -0
  2301. data/lib/oci/vn_monitoring/models/connect_remote_peering_connections_details.rb +171 -0
  2302. data/lib/oci/vn_monitoring/models/cpe.rb +252 -0
  2303. data/lib/oci/vn_monitoring/models/create_cpe_details.rb +219 -0
  2304. data/lib/oci/vn_monitoring/models/create_cross_connect_details.rb +257 -0
  2305. data/lib/oci/vn_monitoring/models/create_cross_connect_group_details.rb +170 -0
  2306. data/lib/oci/vn_monitoring/models/create_dhcp_details.rb +226 -0
  2307. data/lib/oci/vn_monitoring/models/create_drg_attachment_details.rb +248 -0
  2308. data/lib/oci/vn_monitoring/models/create_drg_details.rb +202 -0
  2309. data/lib/oci/vn_monitoring/models/create_drg_route_distribution_details.rb +231 -0
  2310. data/lib/oci/vn_monitoring/models/create_drg_route_table_details.rb +238 -0
  2311. data/lib/oci/vn_monitoring/models/create_internet_gateway_details.rb +230 -0
  2312. data/lib/oci/vn_monitoring/models/create_ip_sec_connection_details.rb +250 -0
  2313. data/lib/oci/vn_monitoring/models/create_ipv6_details.rb +248 -0
  2314. data/lib/oci/vn_monitoring/models/create_local_peering_gateway_details.rb +217 -0
  2315. data/lib/oci/vn_monitoring/models/create_network_security_group_details.rb +220 -0
  2316. data/lib/oci/vn_monitoring/models/create_path_analyzer_test_details.rb +266 -0
  2317. data/lib/oci/vn_monitoring/models/create_private_ip_details.rb +248 -0
  2318. data/lib/oci/vn_monitoring/models/create_public_ip_details.rb +252 -0
  2319. data/lib/oci/vn_monitoring/models/create_remote_peering_connection_details.rb +184 -0
  2320. data/lib/oci/vn_monitoring/models/create_route_table_details.rb +231 -0
  2321. data/lib/oci/vn_monitoring/models/create_security_list_details.rb +244 -0
  2322. data/lib/oci/vn_monitoring/models/create_service_gateway_details.rb +237 -0
  2323. data/lib/oci/vn_monitoring/models/create_subnet_details.rb +379 -0
  2324. data/lib/oci/vn_monitoring/models/create_vcn_details.rb +300 -0
  2325. data/lib/oci/vn_monitoring/models/create_virtual_circuit_details.rb +345 -0
  2326. data/lib/oci/vn_monitoring/models/create_virtual_circuit_public_prefix_details.rb +156 -0
  2327. data/lib/oci/vn_monitoring/models/create_vnic_details.rb +341 -0
  2328. data/lib/oci/vn_monitoring/models/cross_connect.rb +312 -0
  2329. data/lib/oci/vn_monitoring/models/cross_connect_group.rb +247 -0
  2330. data/lib/oci/vn_monitoring/models/cross_connect_location.rb +163 -0
  2331. data/lib/oci/vn_monitoring/models/cross_connect_mapping.rb +261 -0
  2332. data/lib/oci/vn_monitoring/models/cross_connect_port_speed_shape.rb +171 -0
  2333. data/lib/oci/vn_monitoring/models/cross_connect_status.rb +248 -0
  2334. data/lib/oci/vn_monitoring/models/default_drg_route_tables.rb +206 -0
  2335. data/lib/oci/vn_monitoring/models/delete_virtual_circuit_public_prefix_details.rb +155 -0
  2336. data/lib/oci/vn_monitoring/models/denied_security_action.rb +166 -0
  2337. data/lib/oci/vn_monitoring/models/denied_security_action_details.rb +189 -0
  2338. data/lib/oci/vn_monitoring/models/dhcp_dns_option.rb +217 -0
  2339. data/lib/oci/vn_monitoring/models/dhcp_option.rb +175 -0
  2340. data/lib/oci/vn_monitoring/models/dhcp_options.rb +304 -0
  2341. data/lib/oci/{database_tools/models/database_tools_allowed_network_sources.rb → vn_monitoring/models/dhcp_search_domain_option.rb} +33 -28
  2342. data/lib/oci/vn_monitoring/models/drg.rb +302 -0
  2343. data/lib/oci/vn_monitoring/models/drg_attachment.rb +363 -0
  2344. data/lib/oci/vn_monitoring/models/drg_attachment_id_drg_route_distribution_match_criteria.rb +164 -0
  2345. data/lib/oci/vn_monitoring/models/drg_attachment_info.rb +152 -0
  2346. data/lib/oci/vn_monitoring/models/drg_attachment_network_create_details.rb +189 -0
  2347. data/lib/oci/vn_monitoring/models/drg_attachment_network_details.rb +202 -0
  2348. data/lib/oci/vn_monitoring/models/drg_attachment_network_update_details.rb +178 -0
  2349. data/lib/oci/vn_monitoring/models/drg_attachment_type_drg_route_distribution_match_criteria.rb +188 -0
  2350. data/lib/oci/vn_monitoring/models/drg_route_distribution.rb +332 -0
  2351. data/lib/oci/vn_monitoring/models/drg_route_distribution_match_criteria.rb +194 -0
  2352. data/lib/oci/vn_monitoring/models/drg_route_distribution_statement.rb +215 -0
  2353. data/lib/oci/vn_monitoring/models/drg_route_rule.rb +352 -0
  2354. data/lib/oci/vn_monitoring/models/drg_route_table.rb +328 -0
  2355. data/lib/oci/vn_monitoring/models/drg_routing_configuration.rb +179 -0
  2356. data/lib/oci/vn_monitoring/models/egress_security_list_configuration.rb +179 -0
  2357. data/lib/oci/vn_monitoring/models/egress_security_rule.rb +279 -0
  2358. data/lib/oci/vn_monitoring/models/egress_traffic_spec.rb +191 -0
  2359. data/lib/oci/vn_monitoring/models/endpoint.rb +202 -0
  2360. data/lib/oci/vn_monitoring/models/fast_connect_provider_service.rb +340 -0
  2361. data/lib/oci/vn_monitoring/models/forwarded_routing_action.rb +165 -0
  2362. data/lib/oci/vn_monitoring/models/forwarded_routing_action_details.rb +170 -0
  2363. data/lib/oci/vn_monitoring/models/forwarded_routing_configuration.rb +187 -0
  2364. data/lib/oci/vn_monitoring/models/get_path_analysis_details.rb +180 -0
  2365. data/lib/oci/vn_monitoring/models/get_public_ip_by_ip_address_details.rb +157 -0
  2366. data/lib/oci/vn_monitoring/models/get_public_ip_by_private_ip_id_details.rb +156 -0
  2367. data/lib/oci/vn_monitoring/models/icmp_options.rb +170 -0
  2368. data/lib/oci/vn_monitoring/models/icmp_protocol_parameters.rb +177 -0
  2369. data/lib/oci/vn_monitoring/models/icmp_traffic_protocol_parameters.rb +177 -0
  2370. data/lib/oci/vn_monitoring/models/indeterminate_routing_action.rb +150 -0
  2371. data/lib/oci/vn_monitoring/models/ingress_security_list_configuration.rb +179 -0
  2372. data/lib/oci/vn_monitoring/models/ingress_security_rule.rb +277 -0
  2373. data/lib/oci/vn_monitoring/models/internet_gateway.rb +302 -0
  2374. data/lib/oci/vn_monitoring/models/ip_address_endpoint.rb +160 -0
  2375. data/lib/oci/vn_monitoring/models/ip_sec_connection.rb +320 -0
  2376. data/lib/oci/vn_monitoring/models/ip_sec_connection_device_config.rb +188 -0
  2377. data/lib/oci/vn_monitoring/models/ip_sec_connection_device_status.rb +191 -0
  2378. data/lib/oci/vn_monitoring/models/ipsec_tunnel_drg_attachment_network_details.rb +166 -0
  2379. data/lib/oci/vn_monitoring/models/ipv6.rb +375 -0
  2380. data/lib/oci/vn_monitoring/models/letter_of_authority.rb +264 -0
  2381. data/lib/oci/vn_monitoring/models/load_balancer_endpoint.rb +164 -0
  2382. data/lib/oci/vn_monitoring/models/load_balancer_listener_endpoint.rb +179 -0
  2383. data/lib/oci/vn_monitoring/models/local_peering_gateway.rb +378 -0
  2384. data/lib/oci/vn_monitoring/models/network_load_balancer_endpoint.rb +164 -0
  2385. data/lib/oci/vn_monitoring/models/network_load_balancer_listener_endpoint.rb +179 -0
  2386. data/lib/oci/vn_monitoring/models/network_security_group.rb +318 -0
  2387. data/lib/oci/vn_monitoring/models/network_security_group_vnic.rb +189 -0
  2388. data/lib/oci/vn_monitoring/models/networking_topology.rb +158 -0
  2389. data/lib/oci/vn_monitoring/models/no_route_routing_action.rb +165 -0
  2390. data/lib/oci/vn_monitoring/models/no_route_routing_action_details.rb +187 -0
  2391. data/lib/oci/vn_monitoring/models/nsg_configuration.rb +179 -0
  2392. data/lib/oci/vn_monitoring/models/operation_status.rb +15 -0
  2393. data/lib/oci/vn_monitoring/models/operation_type.rb +10 -0
  2394. data/lib/oci/vn_monitoring/models/path.rb +177 -0
  2395. data/lib/oci/vn_monitoring/models/path_analysis_work_request_result.rb +176 -0
  2396. data/lib/oci/vn_monitoring/models/path_analyzer_test.rb +360 -0
  2397. data/lib/oci/vn_monitoring/models/path_analyzer_test_collection.rb +150 -0
  2398. data/lib/oci/vn_monitoring/models/path_analyzer_test_summary.rb +338 -0
  2399. data/lib/oci/vn_monitoring/models/path_topology.rb +158 -0
  2400. data/lib/oci/vn_monitoring/models/persisted_get_path_analysis_details.rb +164 -0
  2401. data/lib/oci/vn_monitoring/models/port_range.rb +163 -0
  2402. data/lib/oci/vn_monitoring/models/private_ip.rb +368 -0
  2403. data/lib/oci/vn_monitoring/models/protocol_parameters.rb +189 -0
  2404. data/lib/oci/vn_monitoring/models/public_ip.rb +411 -0
  2405. data/lib/oci/vn_monitoring/models/query_options.rb +156 -0
  2406. data/lib/oci/vn_monitoring/models/remote_peering_connection.rb +359 -0
  2407. data/lib/oci/vn_monitoring/models/remote_peering_connection_drg_attachment_network_details.rb +149 -0
  2408. data/lib/oci/vn_monitoring/models/remove_drg_route_distribution_statements_details.rb +156 -0
  2409. data/lib/oci/vn_monitoring/models/remove_drg_route_rules_details.rb +156 -0
  2410. data/lib/oci/vn_monitoring/models/remove_network_security_group_security_rules_details.rb +155 -0
  2411. data/lib/oci/vn_monitoring/models/route_rule.rb +249 -0
  2412. data/lib/oci/vn_monitoring/models/route_table.rb +301 -0
  2413. data/lib/oci/vn_monitoring/models/routing_action.rb +223 -0
  2414. data/lib/oci/vn_monitoring/models/security_action.rb +220 -0
  2415. data/lib/oci/vn_monitoring/models/security_list.rb +324 -0
  2416. data/lib/oci/vn_monitoring/models/security_rule.rb +445 -0
  2417. data/lib/oci/vn_monitoring/models/service.rb +207 -0
  2418. data/lib/oci/vn_monitoring/models/service_gateway.rb +329 -0
  2419. data/lib/oci/vn_monitoring/models/service_id_request_details.rb +155 -0
  2420. data/lib/oci/vn_monitoring/models/service_id_response_details.rb +169 -0
  2421. data/lib/oci/vn_monitoring/models/sort_order.rb +11 -0
  2422. data/lib/oci/vn_monitoring/models/stateful_egress_security_list_configuration.rb +179 -0
  2423. data/lib/oci/vn_monitoring/models/stateful_ingress_security_list_configuration.rb +179 -0
  2424. data/lib/oci/vn_monitoring/models/stateful_nsg_configuration.rb +179 -0
  2425. data/lib/oci/vn_monitoring/models/subnet.rb +531 -0
  2426. data/lib/oci/vn_monitoring/models/subnet_endpoint.rb +176 -0
  2427. data/lib/oci/vn_monitoring/models/subnet_topology.rb +175 -0
  2428. data/lib/oci/vn_monitoring/models/tcp_options.rb +168 -0
  2429. data/lib/oci/vn_monitoring/models/tcp_protocol_parameters.rb +176 -0
  2430. data/lib/oci/vn_monitoring/models/tcp_traffic_protocol_parameters.rb +176 -0
  2431. data/lib/oci/vn_monitoring/models/topology.rb +218 -0
  2432. data/lib/oci/vn_monitoring/models/topology_associated_with_entity_relationship.rb +173 -0
  2433. data/lib/oci/vn_monitoring/models/topology_associated_with_relationship_details.rb +150 -0
  2434. data/lib/oci/vn_monitoring/models/topology_contains_entity_relationship.rb +157 -0
  2435. data/lib/oci/vn_monitoring/models/topology_entity_relationship.rb +209 -0
  2436. data/lib/oci/vn_monitoring/models/topology_routes_to_entity_relationship.rb +173 -0
  2437. data/lib/oci/vn_monitoring/models/topology_routes_to_relationship_details.rb +218 -0
  2438. data/lib/oci/vn_monitoring/models/traffic_node.rb +240 -0
  2439. data/lib/oci/vn_monitoring/models/traffic_protocol_parameters.rb +189 -0
  2440. data/lib/oci/vn_monitoring/models/traffic_route.rb +201 -0
  2441. data/lib/oci/vn_monitoring/models/tunnel_config.rb +190 -0
  2442. data/lib/oci/vn_monitoring/models/tunnel_status.rb +227 -0
  2443. data/lib/oci/vn_monitoring/models/udp_options.rb +168 -0
  2444. data/lib/oci/vn_monitoring/models/udp_protocol_parameters.rb +176 -0
  2445. data/lib/oci/vn_monitoring/models/udp_traffic_protocol_parameters.rb +176 -0
  2446. data/lib/oci/vn_monitoring/models/update_cpe_details.rb +188 -0
  2447. data/lib/oci/vn_monitoring/models/update_cross_connect_details.rb +176 -0
  2448. data/lib/oci/vn_monitoring/models/update_cross_connect_group_details.rb +156 -0
  2449. data/lib/oci/vn_monitoring/models/update_dhcp_details.rb +197 -0
  2450. data/lib/oci/vn_monitoring/models/update_drg_attachment_details.rb +238 -0
  2451. data/lib/oci/vn_monitoring/models/update_drg_details.rb +201 -0
  2452. data/lib/oci/vn_monitoring/models/update_drg_route_distribution_details.rb +191 -0
  2453. data/lib/oci/vn_monitoring/models/update_drg_route_distribution_statement_details.rb +178 -0
  2454. data/lib/oci/vn_monitoring/models/update_drg_route_distribution_statements_details.rb +152 -0
  2455. data/lib/oci/vn_monitoring/models/update_drg_route_rule_details.rb +212 -0
  2456. data/lib/oci/vn_monitoring/models/update_drg_route_rules_details.rb +155 -0
  2457. data/lib/oci/vn_monitoring/models/update_drg_route_table_details.rb +223 -0
  2458. data/lib/oci/vn_monitoring/models/update_internet_gateway_details.rb +202 -0
  2459. data/lib/oci/vn_monitoring/models/update_ip_sec_connection_details.rb +188 -0
  2460. data/lib/oci/vn_monitoring/models/update_ipv6_details.rb +228 -0
  2461. data/lib/oci/vn_monitoring/models/update_local_peering_gateway_details.rb +188 -0
  2462. data/lib/oci/vn_monitoring/models/update_network_security_group_details.rb +188 -0
  2463. data/lib/oci/vn_monitoring/models/update_network_security_group_security_rules_details.rb +154 -0
  2464. data/lib/oci/vn_monitoring/models/update_path_analyzer_test_details.rb +250 -0
  2465. data/lib/oci/vn_monitoring/models/update_private_ip_details.rb +229 -0
  2466. data/lib/oci/vn_monitoring/models/update_public_ip_details.rb +207 -0
  2467. data/lib/oci/vn_monitoring/models/update_remote_peering_connection_details.rb +156 -0
  2468. data/lib/oci/vn_monitoring/models/update_route_table_details.rb +203 -0
  2469. data/lib/oci/vn_monitoring/models/update_security_list_details.rb +216 -0
  2470. data/lib/oci/vn_monitoring/models/update_security_rule_details.rb +392 -0
  2471. data/lib/oci/vn_monitoring/models/update_service_gateway_details.rb +229 -0
  2472. data/lib/oci/vn_monitoring/models/update_subnet_details.rb +236 -0
  2473. data/lib/oci/vn_monitoring/models/update_vcn_details.rb +188 -0
  2474. data/lib/oci/vn_monitoring/models/update_virtual_circuit_details.rb +288 -0
  2475. data/lib/oci/vn_monitoring/models/update_vnic_details.rb +253 -0
  2476. data/lib/oci/vn_monitoring/models/updated_network_security_group_security_rules.rb +154 -0
  2477. data/lib/oci/vn_monitoring/models/upgrade_status.rb +203 -0
  2478. data/lib/oci/vn_monitoring/models/vcn.rb +420 -0
  2479. data/lib/oci/vn_monitoring/models/vcn_drg_attachment_network_create_details.rb +174 -0
  2480. data/lib/oci/vn_monitoring/models/vcn_drg_attachment_network_details.rb +173 -0
  2481. data/lib/oci/vn_monitoring/models/vcn_drg_attachment_network_update_details.rb +168 -0
  2482. data/lib/oci/vn_monitoring/models/vcn_routing_configuration.rb +179 -0
  2483. data/lib/oci/vn_monitoring/models/vcn_topology.rb +175 -0
  2484. data/lib/oci/vn_monitoring/models/virtual_circuit.rb +606 -0
  2485. data/lib/oci/vn_monitoring/models/virtual_circuit_bandwidth_shape.rb +171 -0
  2486. data/lib/oci/vn_monitoring/models/virtual_circuit_drg_attachment_network_details.rb +149 -0
  2487. data/lib/oci/vn_monitoring/models/virtual_circuit_public_prefix.rb +197 -0
  2488. data/lib/oci/vn_monitoring/models/visible_traffic_node.rb +196 -0
  2489. data/lib/oci/vn_monitoring/models/vlan_endpoint.rb +175 -0
  2490. data/lib/oci/vn_monitoring/models/vnic.rb +442 -0
  2491. data/lib/oci/vn_monitoring/models/vnic_endpoint.rb +175 -0
  2492. data/lib/oci/vn_monitoring/models/work_request.rb +303 -0
  2493. data/lib/oci/vn_monitoring/models/work_request_error.rb +172 -0
  2494. data/lib/oci/vn_monitoring/models/work_request_error_collection.rb +150 -0
  2495. data/lib/oci/vn_monitoring/models/work_request_log_entry.rb +161 -0
  2496. data/lib/oci/vn_monitoring/models/work_request_log_entry_collection.rb +150 -0
  2497. data/lib/oci/vn_monitoring/models/work_request_resource.rb +219 -0
  2498. data/lib/oci/vn_monitoring/models/work_request_result.rb +190 -0
  2499. data/lib/oci/vn_monitoring/models/work_request_result_collection.rb +150 -0
  2500. data/lib/oci/vn_monitoring/models/work_request_summary.rb +303 -0
  2501. data/lib/oci/vn_monitoring/models/work_request_summary_collection.rb +150 -0
  2502. data/lib/oci/vn_monitoring/util.rb +3 -0
  2503. data/lib/oci/vn_monitoring/vn_monitoring.rb +240 -0
  2504. data/lib/oci/vn_monitoring/vn_monitoring_client.rb +993 -0
  2505. data/lib/oci/vn_monitoring/vn_monitoring_client_composite_operations.rb +193 -0
  2506. data/lib/oci/vulnerability_scanning/models/application_scan_settings.rb +187 -0
  2507. data/lib/oci/vulnerability_scanning/models/container_scan_recipe.rb +15 -1
  2508. data/lib/oci/vulnerability_scanning/models/container_scan_result.rb +29 -1
  2509. data/lib/oci/vulnerability_scanning/models/container_scan_result_problem.rb +46 -4
  2510. data/lib/oci/vulnerability_scanning/models/container_scan_result_summary.rb +15 -1
  2511. data/lib/oci/vulnerability_scanning/models/container_scan_target_summary.rb +14 -1
  2512. data/lib/oci/vulnerability_scanning/models/create_container_scan_recipe_details.rb +15 -1
  2513. data/lib/oci/vulnerability_scanning/models/create_host_scan_recipe_details.rb +14 -1
  2514. data/lib/oci/vulnerability_scanning/models/folder_to_scan.rb +180 -0
  2515. data/lib/oci/vulnerability_scanning/models/host_agent_scan_result.rb +15 -1
  2516. data/lib/oci/vulnerability_scanning/models/host_agent_scan_result_problem.rb +18 -4
  2517. data/lib/oci/vulnerability_scanning/models/host_scan_recipe.rb +14 -1
  2518. data/lib/oci/vulnerability_scanning/models/impacted_resources_count.rb +168 -0
  2519. data/lib/oci/vulnerability_scanning/models/operating_system.rb +11 -0
  2520. data/lib/oci/vulnerability_scanning/models/operation_type.rb +5 -1
  2521. data/lib/oci/vulnerability_scanning/models/package.rb +223 -0
  2522. data/lib/oci/vulnerability_scanning/models/update_container_scan_recipe_details.rb +15 -1
  2523. data/lib/oci/vulnerability_scanning/models/update_host_scan_recipe_details.rb +14 -1
  2524. data/lib/oci/vulnerability_scanning/models/vulnerability.rb +400 -0
  2525. data/lib/oci/vulnerability_scanning/models/vulnerability_impacted_container_summary.rb +212 -0
  2526. data/lib/oci/vulnerability_scanning/models/vulnerability_impacted_container_summary_collection.rb +150 -0
  2527. data/lib/oci/vulnerability_scanning/models/vulnerability_impacted_host_summary.rb +182 -0
  2528. data/lib/oci/vulnerability_scanning/models/vulnerability_impacted_host_summary_collection.rb +150 -0
  2529. data/lib/oci/vulnerability_scanning/models/vulnerability_summary.rb +377 -0
  2530. data/lib/oci/vulnerability_scanning/models/vulnerability_summary_collection.rb +150 -0
  2531. data/lib/oci/vulnerability_scanning/models/work_request.rb +4 -0
  2532. data/lib/oci/vulnerability_scanning/vulnerability_scanning.rb +12 -0
  2533. data/lib/oci/vulnerability_scanning/vulnerability_scanning_client.rb +323 -25
  2534. data/lib/oci/waa/models/backend_type.rb +10 -0
  2535. data/lib/oci/waa/models/change_resource_compartment_details.rb +156 -0
  2536. data/lib/oci/waa/models/change_web_app_acceleration_compartment_details.rb +156 -0
  2537. data/lib/oci/waa/models/change_web_app_acceleration_policy_compartment_details.rb +156 -0
  2538. data/lib/oci/waa/models/create_web_app_acceleration_details.rb +272 -0
  2539. data/lib/oci/waa/models/create_web_app_acceleration_load_balancer_details.rb +186 -0
  2540. data/lib/oci/waa/models/create_web_app_acceleration_policy_details.rb +242 -0
  2541. data/lib/oci/waa/models/gzip_compression_policy.rb +162 -0
  2542. data/lib/oci/waa/models/purge_entire_web_app_acceleration_cache_details.rb +145 -0
  2543. data/lib/oci/waa/models/purge_web_app_acceleration_cache_details.rb +182 -0
  2544. data/lib/oci/waa/models/response_caching_policy.rb +174 -0
  2545. data/lib/oci/waa/models/response_compression_policy.rb +160 -0
  2546. data/lib/oci/waa/models/sort_order.rb +11 -0
  2547. data/lib/oci/waa/models/update_web_app_acceleration_details.rb +218 -0
  2548. data/lib/oci/waa/models/update_web_app_acceleration_policy_details.rb +232 -0
  2549. data/lib/oci/waa/models/web_app_acceleration.rb +370 -0
  2550. data/lib/oci/waa/models/web_app_acceleration_collection.rb +150 -0
  2551. data/lib/oci/waa/models/web_app_acceleration_load_balancer.rb +206 -0
  2552. data/lib/oci/waa/models/web_app_acceleration_load_balancer_summary.rb +206 -0
  2553. data/lib/oci/waa/models/web_app_acceleration_policy.rb +338 -0
  2554. data/lib/oci/waa/models/web_app_acceleration_policy_collection.rb +150 -0
  2555. data/lib/oci/waa/models/web_app_acceleration_policy_summary.rb +284 -0
  2556. data/lib/oci/waa/models/web_app_acceleration_summary.rb +347 -0
  2557. data/lib/oci/waa/models/work_request.rb +311 -0
  2558. data/lib/oci/waa/models/work_request_collection.rb +150 -0
  2559. data/lib/oci/waa/models/work_request_error.rb +173 -0
  2560. data/lib/oci/waa/models/work_request_error_collection.rb +150 -0
  2561. data/lib/oci/waa/models/work_request_log_entry.rb +160 -0
  2562. data/lib/oci/waa/models/work_request_log_entry_collection.rb +150 -0
  2563. data/lib/oci/waa/models/work_request_resource.rb +219 -0
  2564. data/lib/oci/waa/util.rb +3 -0
  2565. data/lib/oci/waa/waa.rb +51 -0
  2566. data/lib/oci/waa/waa_client.rb +926 -0
  2567. data/lib/oci/waa/waa_client_composite_operations.rb +471 -0
  2568. data/lib/oci/waa/work_request_client.rb +346 -0
  2569. data/lib/oci/waa/work_request_client_composite_operations.rb +25 -0
  2570. data/lib/oci/waas/models/create_custom_protection_rule_details.rb +1 -1
  2571. data/lib/oci/waas/models/custom_protection_rule.rb +1 -1
  2572. data/lib/oci/waas/models/update_custom_protection_rule_details.rb +1 -1
  2573. data/lib/oci/waf/models/protection_rule.rb +25 -5
  2574. data/lib/oci/waf/models/request_protection.rb +44 -5
  2575. data/lib/oci/waf/models/return_http_response_action.rb +1 -0
  2576. data/lib/oci.rb +115 -103
  2577. metadata +1603 -5
@@ -6,7 +6,9 @@ require 'logger'
6
6
 
7
7
  # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
8
8
  module OCI
9
- # A description of the Cloud Guard APIs
9
+ # Use the Cloud Guard and Security Zones API to automate processes that you would otherwise perform through the Cloud Guard Console or the Security Zones Console. For more information on these services, see the [Cloud Guard](/iaas/cloud-guard/home.htm) and [Security Zones](/iaas/security-zone/home.htm) documentation.
10
+ #
11
+ # **Note:** For Cloud Guard, you can perform Create, Update, and Delete operations only from the reporting region of your Cloud Guard tenancy. You can perform Read operations in Cloud Guard from any region.
10
12
  class CloudGuard::CloudGuardClient
11
13
  # Client used to make HTTP requests.
12
14
  # @return [OCI::ApiClient]
@@ -98,6 +100,77 @@ module OCI
98
100
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
99
101
 
100
102
 
103
+ # Add an existing compartment to a security zone. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone's policies.
104
+ # @param [String] security_zone_id The unique identifier of the security zone (`SecurityZone`)
105
+ # @param [OCI::CloudGuard::Models::AddCompartmentDetails] add_compartment_details The compartment to add to the security zone.
106
+ # @param [Hash] opts the optional parameters
107
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
108
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
109
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
110
+ # server error without risk of executing that same action again. Retry tokens expire after 24
111
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
112
+ # has been deleted and purged from the system, then a retry of the original creation request
113
+ # might be rejected.
114
+ #
115
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
116
+ # for a resource, set the `if-match` parameter to the value of the
117
+ # etag from a previous GET or POST response for that resource.
118
+ # The resource will be updated or deleted only if the etag you
119
+ # provide matches the resource's current etag value.
120
+ #
121
+ # @option opts [String] :opc_request_id The client request ID for tracing.
122
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityZone SecurityZone}
123
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/add_compartment.rb.html) to see an example of how to use add_compartment API.
124
+ def add_compartment(security_zone_id, add_compartment_details, opts = {})
125
+ logger.debug 'Calling operation CloudGuardClient#add_compartment.' if logger
126
+
127
+ raise "Missing the required parameter 'security_zone_id' when calling add_compartment." if security_zone_id.nil?
128
+ raise "Missing the required parameter 'add_compartment_details' when calling add_compartment." if add_compartment_details.nil?
129
+ raise "Parameter value for 'security_zone_id' must not be blank" if OCI::Internal::Util.blank_string?(security_zone_id)
130
+
131
+ path = '/securityZones/{securityZoneId}/actions/addCompartment'.sub('{securityZoneId}', security_zone_id.to_s)
132
+ operation_signing_strategy = :standard
133
+
134
+ # rubocop:disable Style/NegatedIf
135
+ # Query Params
136
+ query_params = {}
137
+
138
+ # Header Params
139
+ header_params = {}
140
+ header_params[:accept] = 'application/json'
141
+ header_params[:'content-type'] = 'application/json'
142
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
143
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
144
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
145
+ # rubocop:enable Style/NegatedIf
146
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
147
+
148
+ post_body = @api_client.object_to_http_body(add_compartment_details)
149
+
150
+ # rubocop:disable Metrics/BlockLength
151
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#add_compartment') do
152
+ @api_client.call_api(
153
+ :POST,
154
+ path,
155
+ endpoint,
156
+ header_params: header_params,
157
+ query_params: query_params,
158
+ operation_signing_strategy: operation_signing_strategy,
159
+ body: post_body,
160
+ return_type: 'OCI::CloudGuard::Models::SecurityZone'
161
+ )
162
+ end
163
+ # rubocop:enable Metrics/BlockLength
164
+ end
165
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
166
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
167
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
168
+
169
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
170
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
171
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
172
+
173
+
101
174
  # Moves the DetectorRecipe from current compartment to another.
102
175
  # @param [String] detector_recipe_id DetectorRecipe OCID
103
176
  # @param [OCI::CloudGuard::Models::ChangeDetectorRecipeCompartmentDetails] change_detector_recipe_compartment_details The target compartment id.
@@ -308,6 +381,146 @@ module OCI
308
381
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
309
382
 
310
383
 
384
+ # Moves a security zone recipe to a different compartment. When provided, `If-Match` is checked against `ETag` values of the resource.
385
+ # @param [String] security_recipe_id The unique identifier of the security zone recipe (`SecurityRecipe`)
386
+ # @param [OCI::CloudGuard::Models::ChangeSecurityRecipeCompartmentDetails] change_security_recipe_compartment_details The compartment to which you want to move the recipe.
387
+ # @param [Hash] opts the optional parameters
388
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
389
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
390
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
391
+ # for a resource, set the `if-match` parameter to the value of the
392
+ # etag from a previous GET or POST response for that resource.
393
+ # The resource will be updated or deleted only if the etag you
394
+ # provide matches the resource's current etag value.
395
+ #
396
+ # @option opts [String] :opc_request_id The client request ID for tracing.
397
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
398
+ # server error without risk of executing that same action again. Retry tokens expire after 24
399
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
400
+ # has been deleted and purged from the system, then a retry of the original creation request
401
+ # might be rejected.
402
+ #
403
+ # @return [Response] A Response object with data of type nil
404
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/change_security_recipe_compartment.rb.html) to see an example of how to use change_security_recipe_compartment API.
405
+ def change_security_recipe_compartment(security_recipe_id, change_security_recipe_compartment_details, opts = {})
406
+ logger.debug 'Calling operation CloudGuardClient#change_security_recipe_compartment.' if logger
407
+
408
+ raise "Missing the required parameter 'security_recipe_id' when calling change_security_recipe_compartment." if security_recipe_id.nil?
409
+ raise "Missing the required parameter 'change_security_recipe_compartment_details' when calling change_security_recipe_compartment." if change_security_recipe_compartment_details.nil?
410
+ raise "Parameter value for 'security_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(security_recipe_id)
411
+
412
+ path = '/securityRecipes/{securityRecipeId}/actions/changeCompartment'.sub('{securityRecipeId}', security_recipe_id.to_s)
413
+ operation_signing_strategy = :standard
414
+
415
+ # rubocop:disable Style/NegatedIf
416
+ # Query Params
417
+ query_params = {}
418
+
419
+ # Header Params
420
+ header_params = {}
421
+ header_params[:accept] = 'application/json'
422
+ header_params[:'content-type'] = 'application/json'
423
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
424
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
425
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
426
+ # rubocop:enable Style/NegatedIf
427
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
428
+
429
+ post_body = @api_client.object_to_http_body(change_security_recipe_compartment_details)
430
+
431
+ # rubocop:disable Metrics/BlockLength
432
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#change_security_recipe_compartment') do
433
+ @api_client.call_api(
434
+ :POST,
435
+ path,
436
+ endpoint,
437
+ header_params: header_params,
438
+ query_params: query_params,
439
+ operation_signing_strategy: operation_signing_strategy,
440
+ body: post_body
441
+ )
442
+ end
443
+ # rubocop:enable Metrics/BlockLength
444
+ end
445
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
446
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
447
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
448
+
449
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
450
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
451
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
452
+
453
+
454
+ # Moves a security zone to a different compartment. When provided, `If-Match` is checked against `ETag` values of the resource.
455
+ # @param [String] security_zone_id The unique identifier of the security zone (`SecurityZone`)
456
+ # @param [OCI::CloudGuard::Models::ChangeSecurityZoneCompartmentDetails] change_security_zone_compartment_details The compartment to which you want to move the security zone.
457
+ # @param [Hash] opts the optional parameters
458
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
459
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
460
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
461
+ # for a resource, set the `if-match` parameter to the value of the
462
+ # etag from a previous GET or POST response for that resource.
463
+ # The resource will be updated or deleted only if the etag you
464
+ # provide matches the resource's current etag value.
465
+ #
466
+ # @option opts [String] :opc_request_id The client request ID for tracing.
467
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
468
+ # server error without risk of executing that same action again. Retry tokens expire after 24
469
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
470
+ # has been deleted and purged from the system, then a retry of the original creation request
471
+ # might be rejected.
472
+ #
473
+ # @return [Response] A Response object with data of type nil
474
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/change_security_zone_compartment.rb.html) to see an example of how to use change_security_zone_compartment API.
475
+ def change_security_zone_compartment(security_zone_id, change_security_zone_compartment_details, opts = {})
476
+ logger.debug 'Calling operation CloudGuardClient#change_security_zone_compartment.' if logger
477
+
478
+ raise "Missing the required parameter 'security_zone_id' when calling change_security_zone_compartment." if security_zone_id.nil?
479
+ raise "Missing the required parameter 'change_security_zone_compartment_details' when calling change_security_zone_compartment." if change_security_zone_compartment_details.nil?
480
+ raise "Parameter value for 'security_zone_id' must not be blank" if OCI::Internal::Util.blank_string?(security_zone_id)
481
+
482
+ path = '/securityZones/{securityZoneId}/actions/changeCompartment'.sub('{securityZoneId}', security_zone_id.to_s)
483
+ operation_signing_strategy = :standard
484
+
485
+ # rubocop:disable Style/NegatedIf
486
+ # Query Params
487
+ query_params = {}
488
+
489
+ # Header Params
490
+ header_params = {}
491
+ header_params[:accept] = 'application/json'
492
+ header_params[:'content-type'] = 'application/json'
493
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
494
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
495
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
496
+ # rubocop:enable Style/NegatedIf
497
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
498
+
499
+ post_body = @api_client.object_to_http_body(change_security_zone_compartment_details)
500
+
501
+ # rubocop:disable Metrics/BlockLength
502
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#change_security_zone_compartment') do
503
+ @api_client.call_api(
504
+ :POST,
505
+ path,
506
+ endpoint,
507
+ header_params: header_params,
508
+ query_params: query_params,
509
+ operation_signing_strategy: operation_signing_strategy,
510
+ body: post_body
511
+ )
512
+ end
513
+ # rubocop:enable Metrics/BlockLength
514
+ end
515
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
516
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
517
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
518
+
519
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
520
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
521
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
522
+
523
+
311
524
  # Creates a new Data Mask Rule Definition
312
525
  #
313
526
  # @param [OCI::CloudGuard::Models::CreateDataMaskRuleDetails] create_data_mask_rule_details Definition for the new Data Mask Rule.
@@ -556,9 +769,9 @@ module OCI
556
769
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
557
770
 
558
771
 
559
- # Creates a new Target
772
+ # Creates a security zone recipe. A security zone recipe is a collection of security zone policies.
560
773
  #
561
- # @param [OCI::CloudGuard::Models::CreateTargetDetails] create_target_details Details for the new Target.
774
+ # @param [OCI::CloudGuard::Models::CreateSecurityRecipeDetails] create_security_recipe_details Details for the new `SecurityRecipe`.
562
775
  # @param [Hash] opts the optional parameters
563
776
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
564
777
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -569,14 +782,14 @@ module OCI
569
782
  # might be rejected.
570
783
  #
571
784
  # @option opts [String] :opc_request_id The client request ID for tracing.
572
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::Target Target}
573
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_target.rb.html) to see an example of how to use create_target API.
574
- def create_target(create_target_details, opts = {})
575
- logger.debug 'Calling operation CloudGuardClient#create_target.' if logger
785
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityRecipe SecurityRecipe}
786
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_security_recipe.rb.html) to see an example of how to use create_security_recipe API.
787
+ def create_security_recipe(create_security_recipe_details, opts = {})
788
+ logger.debug 'Calling operation CloudGuardClient#create_security_recipe.' if logger
576
789
 
577
- raise "Missing the required parameter 'create_target_details' when calling create_target." if create_target_details.nil?
790
+ raise "Missing the required parameter 'create_security_recipe_details' when calling create_security_recipe." if create_security_recipe_details.nil?
578
791
 
579
- path = '/targets'
792
+ path = '/securityRecipes'
580
793
  operation_signing_strategy = :standard
581
794
 
582
795
  # rubocop:disable Style/NegatedIf
@@ -592,10 +805,10 @@ module OCI
592
805
  # rubocop:enable Style/NegatedIf
593
806
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
594
807
 
595
- post_body = @api_client.object_to_http_body(create_target_details)
808
+ post_body = @api_client.object_to_http_body(create_security_recipe_details)
596
809
 
597
810
  # rubocop:disable Metrics/BlockLength
598
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_target') do
811
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_security_recipe') do
599
812
  @api_client.call_api(
600
813
  :POST,
601
814
  path,
@@ -604,7 +817,7 @@ module OCI
604
817
  query_params: query_params,
605
818
  operation_signing_strategy: operation_signing_strategy,
606
819
  body: post_body,
607
- return_type: 'OCI::CloudGuard::Models::Target'
820
+ return_type: 'OCI::CloudGuard::Models::SecurityRecipe'
608
821
  )
609
822
  end
610
823
  # rubocop:enable Metrics/BlockLength
@@ -618,10 +831,9 @@ module OCI
618
831
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
619
832
 
620
833
 
621
- # Attach a DetectorRecipe with the Target
834
+ # Creates a security zone for a compartment. A security zone enforces all security zone policies in a given security zone recipe. Any actions that violate a policy are denied. By default, any subcompartments are also in the same security zone.
622
835
  #
623
- # @param [String] target_id OCID of target
624
- # @param [OCI::CloudGuard::Models::AttachTargetDetectorRecipeDetails] attach_target_detector_recipe_details Details for associating DetectorRecipe to Target
836
+ # @param [OCI::CloudGuard::Models::CreateSecurityZoneDetails] create_security_zone_details Details for the new `SecurityZone`.
625
837
  # @param [Hash] opts the optional parameters
626
838
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
627
839
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -632,16 +844,14 @@ module OCI
632
844
  # might be rejected.
633
845
  #
634
846
  # @option opts [String] :opc_request_id The client request ID for tracing.
635
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::TargetDetectorRecipe TargetDetectorRecipe}
636
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_target_detector_recipe.rb.html) to see an example of how to use create_target_detector_recipe API.
637
- def create_target_detector_recipe(target_id, attach_target_detector_recipe_details, opts = {})
638
- logger.debug 'Calling operation CloudGuardClient#create_target_detector_recipe.' if logger
847
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityZone SecurityZone}
848
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_security_zone.rb.html) to see an example of how to use create_security_zone API.
849
+ def create_security_zone(create_security_zone_details, opts = {})
850
+ logger.debug 'Calling operation CloudGuardClient#create_security_zone.' if logger
639
851
 
640
- raise "Missing the required parameter 'target_id' when calling create_target_detector_recipe." if target_id.nil?
641
- raise "Missing the required parameter 'attach_target_detector_recipe_details' when calling create_target_detector_recipe." if attach_target_detector_recipe_details.nil?
642
- raise "Parameter value for 'target_id' must not be blank" if OCI::Internal::Util.blank_string?(target_id)
852
+ raise "Missing the required parameter 'create_security_zone_details' when calling create_security_zone." if create_security_zone_details.nil?
643
853
 
644
- path = '/targets/{targetId}/targetDetectorRecipes'.sub('{targetId}', target_id.to_s)
854
+ path = '/securityZones'
645
855
  operation_signing_strategy = :standard
646
856
 
647
857
  # rubocop:disable Style/NegatedIf
@@ -657,10 +867,10 @@ module OCI
657
867
  # rubocop:enable Style/NegatedIf
658
868
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
659
869
 
660
- post_body = @api_client.object_to_http_body(attach_target_detector_recipe_details)
870
+ post_body = @api_client.object_to_http_body(create_security_zone_details)
661
871
 
662
872
  # rubocop:disable Metrics/BlockLength
663
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_target_detector_recipe') do
873
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_security_zone') do
664
874
  @api_client.call_api(
665
875
  :POST,
666
876
  path,
@@ -669,7 +879,7 @@ module OCI
669
879
  query_params: query_params,
670
880
  operation_signing_strategy: operation_signing_strategy,
671
881
  body: post_body,
672
- return_type: 'OCI::CloudGuard::Models::TargetDetectorRecipe'
882
+ return_type: 'OCI::CloudGuard::Models::SecurityZone'
673
883
  )
674
884
  end
675
885
  # rubocop:enable Metrics/BlockLength
@@ -683,10 +893,9 @@ module OCI
683
893
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
684
894
 
685
895
 
686
- # Attach a ResponderRecipe with the Target
896
+ # Creates a new Target
687
897
  #
688
- # @param [String] target_id OCID of target
689
- # @param [OCI::CloudGuard::Models::AttachTargetResponderRecipeDetails] attach_target_responder_recipe_details Details for associating ResponderRecipe to Target
898
+ # @param [OCI::CloudGuard::Models::CreateTargetDetails] create_target_details Details for the new Target.
690
899
  # @param [Hash] opts the optional parameters
691
900
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
692
901
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -697,16 +906,14 @@ module OCI
697
906
  # might be rejected.
698
907
  #
699
908
  # @option opts [String] :opc_request_id The client request ID for tracing.
700
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::TargetResponderRecipe TargetResponderRecipe}
701
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_target_responder_recipe.rb.html) to see an example of how to use create_target_responder_recipe API.
702
- def create_target_responder_recipe(target_id, attach_target_responder_recipe_details, opts = {})
703
- logger.debug 'Calling operation CloudGuardClient#create_target_responder_recipe.' if logger
909
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::Target Target}
910
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_target.rb.html) to see an example of how to use create_target API.
911
+ def create_target(create_target_details, opts = {})
912
+ logger.debug 'Calling operation CloudGuardClient#create_target.' if logger
704
913
 
705
- raise "Missing the required parameter 'target_id' when calling create_target_responder_recipe." if target_id.nil?
706
- raise "Missing the required parameter 'attach_target_responder_recipe_details' when calling create_target_responder_recipe." if attach_target_responder_recipe_details.nil?
707
- raise "Parameter value for 'target_id' must not be blank" if OCI::Internal::Util.blank_string?(target_id)
914
+ raise "Missing the required parameter 'create_target_details' when calling create_target." if create_target_details.nil?
708
915
 
709
- path = '/targets/{targetId}/targetResponderRecipes'.sub('{targetId}', target_id.to_s)
916
+ path = '/targets'
710
917
  operation_signing_strategy = :standard
711
918
 
712
919
  # rubocop:disable Style/NegatedIf
@@ -722,10 +929,10 @@ module OCI
722
929
  # rubocop:enable Style/NegatedIf
723
930
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
724
931
 
725
- post_body = @api_client.object_to_http_body(attach_target_responder_recipe_details)
932
+ post_body = @api_client.object_to_http_body(create_target_details)
726
933
 
727
934
  # rubocop:disable Metrics/BlockLength
728
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_target_responder_recipe') do
935
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_target') do
729
936
  @api_client.call_api(
730
937
  :POST,
731
938
  path,
@@ -734,7 +941,7 @@ module OCI
734
941
  query_params: query_params,
735
942
  operation_signing_strategy: operation_signing_strategy,
736
943
  body: post_body,
737
- return_type: 'OCI::CloudGuard::Models::TargetResponderRecipe'
944
+ return_type: 'OCI::CloudGuard::Models::Target'
738
945
  )
739
946
  end
740
947
  # rubocop:enable Metrics/BlockLength
@@ -748,27 +955,30 @@ module OCI
748
955
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
749
956
 
750
957
 
751
- # Deletes a DataMaskRule identified by dataMaskRuleId
752
- # @param [String] data_mask_rule_id OCID of dataMaskRule
958
+ # Attach a DetectorRecipe with the Target
959
+ #
960
+ # @param [String] target_id OCID of target
961
+ # @param [OCI::CloudGuard::Models::AttachTargetDetectorRecipeDetails] attach_target_detector_recipe_details Details for associating DetectorRecipe to Target
753
962
  # @param [Hash] opts the optional parameters
754
963
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
755
964
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
756
- # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
757
- # for a resource, set the `if-match` parameter to the value of the
758
- # etag from a previous GET or POST response for that resource.
759
- # The resource will be updated or deleted only if the etag you
760
- # provide matches the resource's current etag value.
965
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
966
+ # server error without risk of executing that same action again. Retry tokens expire after 24
967
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
968
+ # has been deleted and purged from the system, then a retry of the original creation request
969
+ # might be rejected.
761
970
  #
762
971
  # @option opts [String] :opc_request_id The client request ID for tracing.
763
- # @return [Response] A Response object with data of type nil
764
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/delete_data_mask_rule.rb.html) to see an example of how to use delete_data_mask_rule API.
765
- def delete_data_mask_rule(data_mask_rule_id, opts = {})
766
- logger.debug 'Calling operation CloudGuardClient#delete_data_mask_rule.' if logger
972
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::TargetDetectorRecipe TargetDetectorRecipe}
973
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_target_detector_recipe.rb.html) to see an example of how to use create_target_detector_recipe API.
974
+ def create_target_detector_recipe(target_id, attach_target_detector_recipe_details, opts = {})
975
+ logger.debug 'Calling operation CloudGuardClient#create_target_detector_recipe.' if logger
767
976
 
768
- raise "Missing the required parameter 'data_mask_rule_id' when calling delete_data_mask_rule." if data_mask_rule_id.nil?
769
- raise "Parameter value for 'data_mask_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(data_mask_rule_id)
977
+ raise "Missing the required parameter 'target_id' when calling create_target_detector_recipe." if target_id.nil?
978
+ raise "Missing the required parameter 'attach_target_detector_recipe_details' when calling create_target_detector_recipe." if attach_target_detector_recipe_details.nil?
979
+ raise "Parameter value for 'target_id' must not be blank" if OCI::Internal::Util.blank_string?(target_id)
770
980
 
771
- path = '/dataMaskRules/{dataMaskRuleId}'.sub('{dataMaskRuleId}', data_mask_rule_id.to_s)
981
+ path = '/targets/{targetId}/targetDetectorRecipes'.sub('{targetId}', target_id.to_s)
772
982
  operation_signing_strategy = :standard
773
983
 
774
984
  # rubocop:disable Style/NegatedIf
@@ -779,7 +989,134 @@ module OCI
779
989
  header_params = {}
780
990
  header_params[:accept] = 'application/json'
781
991
  header_params[:'content-type'] = 'application/json'
782
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
992
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
993
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
994
+ # rubocop:enable Style/NegatedIf
995
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
996
+
997
+ post_body = @api_client.object_to_http_body(attach_target_detector_recipe_details)
998
+
999
+ # rubocop:disable Metrics/BlockLength
1000
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_target_detector_recipe') do
1001
+ @api_client.call_api(
1002
+ :POST,
1003
+ path,
1004
+ endpoint,
1005
+ header_params: header_params,
1006
+ query_params: query_params,
1007
+ operation_signing_strategy: operation_signing_strategy,
1008
+ body: post_body,
1009
+ return_type: 'OCI::CloudGuard::Models::TargetDetectorRecipe'
1010
+ )
1011
+ end
1012
+ # rubocop:enable Metrics/BlockLength
1013
+ end
1014
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1015
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1016
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1017
+
1018
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1019
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1020
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1021
+
1022
+
1023
+ # Attach a ResponderRecipe with the Target
1024
+ #
1025
+ # @param [String] target_id OCID of target
1026
+ # @param [OCI::CloudGuard::Models::AttachTargetResponderRecipeDetails] attach_target_responder_recipe_details Details for associating ResponderRecipe to Target
1027
+ # @param [Hash] opts the optional parameters
1028
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1029
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1030
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1031
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1032
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1033
+ # has been deleted and purged from the system, then a retry of the original creation request
1034
+ # might be rejected.
1035
+ #
1036
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1037
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::TargetResponderRecipe TargetResponderRecipe}
1038
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/create_target_responder_recipe.rb.html) to see an example of how to use create_target_responder_recipe API.
1039
+ def create_target_responder_recipe(target_id, attach_target_responder_recipe_details, opts = {})
1040
+ logger.debug 'Calling operation CloudGuardClient#create_target_responder_recipe.' if logger
1041
+
1042
+ raise "Missing the required parameter 'target_id' when calling create_target_responder_recipe." if target_id.nil?
1043
+ raise "Missing the required parameter 'attach_target_responder_recipe_details' when calling create_target_responder_recipe." if attach_target_responder_recipe_details.nil?
1044
+ raise "Parameter value for 'target_id' must not be blank" if OCI::Internal::Util.blank_string?(target_id)
1045
+
1046
+ path = '/targets/{targetId}/targetResponderRecipes'.sub('{targetId}', target_id.to_s)
1047
+ operation_signing_strategy = :standard
1048
+
1049
+ # rubocop:disable Style/NegatedIf
1050
+ # Query Params
1051
+ query_params = {}
1052
+
1053
+ # Header Params
1054
+ header_params = {}
1055
+ header_params[:accept] = 'application/json'
1056
+ header_params[:'content-type'] = 'application/json'
1057
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1058
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1059
+ # rubocop:enable Style/NegatedIf
1060
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1061
+
1062
+ post_body = @api_client.object_to_http_body(attach_target_responder_recipe_details)
1063
+
1064
+ # rubocop:disable Metrics/BlockLength
1065
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#create_target_responder_recipe') do
1066
+ @api_client.call_api(
1067
+ :POST,
1068
+ path,
1069
+ endpoint,
1070
+ header_params: header_params,
1071
+ query_params: query_params,
1072
+ operation_signing_strategy: operation_signing_strategy,
1073
+ body: post_body,
1074
+ return_type: 'OCI::CloudGuard::Models::TargetResponderRecipe'
1075
+ )
1076
+ end
1077
+ # rubocop:enable Metrics/BlockLength
1078
+ end
1079
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1080
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1081
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1082
+
1083
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1084
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1085
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1086
+
1087
+
1088
+ # Deletes a DataMaskRule identified by dataMaskRuleId
1089
+ # @param [String] data_mask_rule_id OCID of dataMaskRule
1090
+ # @param [Hash] opts the optional parameters
1091
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1092
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1093
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1094
+ # for a resource, set the `if-match` parameter to the value of the
1095
+ # etag from a previous GET or POST response for that resource.
1096
+ # The resource will be updated or deleted only if the etag you
1097
+ # provide matches the resource's current etag value.
1098
+ #
1099
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1100
+ # @return [Response] A Response object with data of type nil
1101
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/delete_data_mask_rule.rb.html) to see an example of how to use delete_data_mask_rule API.
1102
+ def delete_data_mask_rule(data_mask_rule_id, opts = {})
1103
+ logger.debug 'Calling operation CloudGuardClient#delete_data_mask_rule.' if logger
1104
+
1105
+ raise "Missing the required parameter 'data_mask_rule_id' when calling delete_data_mask_rule." if data_mask_rule_id.nil?
1106
+ raise "Parameter value for 'data_mask_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(data_mask_rule_id)
1107
+
1108
+ path = '/dataMaskRules/{dataMaskRuleId}'.sub('{dataMaskRuleId}', data_mask_rule_id.to_s)
1109
+ operation_signing_strategy = :standard
1110
+
1111
+ # rubocop:disable Style/NegatedIf
1112
+ # Query Params
1113
+ query_params = {}
1114
+
1115
+ # Header Params
1116
+ header_params = {}
1117
+ header_params[:accept] = 'application/json'
1118
+ header_params[:'content-type'] = 'application/json'
1119
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
783
1120
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
784
1121
  # rubocop:enable Style/NegatedIf
785
1122
 
@@ -1004,6 +1341,126 @@ module OCI
1004
1341
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1005
1342
 
1006
1343
 
1344
+ # Deletes a security zone recipe. The recipe can't be associated with an existing security zone.
1345
+ # @param [String] security_recipe_id The unique identifier of the security zone recipe (`SecurityRecipe`)
1346
+ # @param [Hash] opts the optional parameters
1347
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1348
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1349
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1350
+ # for a resource, set the `if-match` parameter to the value of the
1351
+ # etag from a previous GET or POST response for that resource.
1352
+ # The resource will be updated or deleted only if the etag you
1353
+ # provide matches the resource's current etag value.
1354
+ #
1355
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1356
+ # @return [Response] A Response object with data of type nil
1357
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/delete_security_recipe.rb.html) to see an example of how to use delete_security_recipe API.
1358
+ def delete_security_recipe(security_recipe_id, opts = {})
1359
+ logger.debug 'Calling operation CloudGuardClient#delete_security_recipe.' if logger
1360
+
1361
+ raise "Missing the required parameter 'security_recipe_id' when calling delete_security_recipe." if security_recipe_id.nil?
1362
+ raise "Parameter value for 'security_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(security_recipe_id)
1363
+
1364
+ path = '/securityRecipes/{securityRecipeId}'.sub('{securityRecipeId}', security_recipe_id.to_s)
1365
+ operation_signing_strategy = :standard
1366
+
1367
+ # rubocop:disable Style/NegatedIf
1368
+ # Query Params
1369
+ query_params = {}
1370
+
1371
+ # Header Params
1372
+ header_params = {}
1373
+ header_params[:accept] = 'application/json'
1374
+ header_params[:'content-type'] = 'application/json'
1375
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1376
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1377
+ # rubocop:enable Style/NegatedIf
1378
+
1379
+ post_body = nil
1380
+
1381
+ # rubocop:disable Metrics/BlockLength
1382
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#delete_security_recipe') do
1383
+ @api_client.call_api(
1384
+ :DELETE,
1385
+ path,
1386
+ endpoint,
1387
+ header_params: header_params,
1388
+ query_params: query_params,
1389
+ operation_signing_strategy: operation_signing_strategy,
1390
+ body: post_body
1391
+ )
1392
+ end
1393
+ # rubocop:enable Metrics/BlockLength
1394
+ end
1395
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1396
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1397
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1398
+
1399
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1400
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1401
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1402
+
1403
+
1404
+ # Deletes an existing security zone with a given identifier.
1405
+ # @param [String] security_zone_id The unique identifier of the security zone (`SecurityZone`)
1406
+ # @param [Hash] opts the optional parameters
1407
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1408
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1409
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1410
+ # for a resource, set the `if-match` parameter to the value of the
1411
+ # etag from a previous GET or POST response for that resource.
1412
+ # The resource will be updated or deleted only if the etag you
1413
+ # provide matches the resource's current etag value.
1414
+ #
1415
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1416
+ # @return [Response] A Response object with data of type nil
1417
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/delete_security_zone.rb.html) to see an example of how to use delete_security_zone API.
1418
+ def delete_security_zone(security_zone_id, opts = {})
1419
+ logger.debug 'Calling operation CloudGuardClient#delete_security_zone.' if logger
1420
+
1421
+ raise "Missing the required parameter 'security_zone_id' when calling delete_security_zone." if security_zone_id.nil?
1422
+ raise "Parameter value for 'security_zone_id' must not be blank" if OCI::Internal::Util.blank_string?(security_zone_id)
1423
+
1424
+ path = '/securityZones/{securityZoneId}'.sub('{securityZoneId}', security_zone_id.to_s)
1425
+ operation_signing_strategy = :standard
1426
+
1427
+ # rubocop:disable Style/NegatedIf
1428
+ # Query Params
1429
+ query_params = {}
1430
+
1431
+ # Header Params
1432
+ header_params = {}
1433
+ header_params[:accept] = 'application/json'
1434
+ header_params[:'content-type'] = 'application/json'
1435
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1436
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1437
+ # rubocop:enable Style/NegatedIf
1438
+
1439
+ post_body = nil
1440
+
1441
+ # rubocop:disable Metrics/BlockLength
1442
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#delete_security_zone') do
1443
+ @api_client.call_api(
1444
+ :DELETE,
1445
+ path,
1446
+ endpoint,
1447
+ header_params: header_params,
1448
+ query_params: query_params,
1449
+ operation_signing_strategy: operation_signing_strategy,
1450
+ body: post_body
1451
+ )
1452
+ end
1453
+ # rubocop:enable Metrics/BlockLength
1454
+ end
1455
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1456
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1457
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1458
+
1459
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1460
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1461
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1462
+
1463
+
1007
1464
  # Deletes a Target identified by targetId
1008
1465
  # @param [String] target_id OCID of target
1009
1466
  # @param [Hash] opts the optional parameters
@@ -1765,22 +2222,21 @@ module OCI
1765
2222
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1766
2223
 
1767
2224
 
1768
- # Returns a Responder Execution identified by responderExecutionId
1769
- #
1770
- # @param [String] responder_execution_id The identifier of the responder execution.
2225
+ # Returns resource profile details
2226
+ # @param [String] resource_profile_id OCID of the resource profile.
1771
2227
  # @param [Hash] opts the optional parameters
1772
2228
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1773
2229
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1774
2230
  # @option opts [String] :opc_request_id The client request ID for tracing.
1775
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderExecution ResponderExecution}
1776
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_responder_execution.rb.html) to see an example of how to use get_responder_execution API.
1777
- def get_responder_execution(responder_execution_id, opts = {})
1778
- logger.debug 'Calling operation CloudGuardClient#get_responder_execution.' if logger
2231
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceProfile ResourceProfile}
2232
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_resource_profile.rb.html) to see an example of how to use get_resource_profile API.
2233
+ def get_resource_profile(resource_profile_id, opts = {})
2234
+ logger.debug 'Calling operation CloudGuardClient#get_resource_profile.' if logger
1779
2235
 
1780
- raise "Missing the required parameter 'responder_execution_id' when calling get_responder_execution." if responder_execution_id.nil?
1781
- raise "Parameter value for 'responder_execution_id' must not be blank" if OCI::Internal::Util.blank_string?(responder_execution_id)
2236
+ raise "Missing the required parameter 'resource_profile_id' when calling get_resource_profile." if resource_profile_id.nil?
2237
+ raise "Parameter value for 'resource_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_profile_id)
1782
2238
 
1783
- path = '/responderExecutions/{responderExecutionId}'.sub('{responderExecutionId}', responder_execution_id.to_s)
2239
+ path = '/resourceProfiles/{resourceProfileId}'.sub('{resourceProfileId}', resource_profile_id.to_s)
1784
2240
  operation_signing_strategy = :standard
1785
2241
 
1786
2242
  # rubocop:disable Style/NegatedIf
@@ -1797,7 +2253,7 @@ module OCI
1797
2253
  post_body = nil
1798
2254
 
1799
2255
  # rubocop:disable Metrics/BlockLength
1800
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_responder_execution') do
2256
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_resource_profile') do
1801
2257
  @api_client.call_api(
1802
2258
  :GET,
1803
2259
  path,
@@ -1806,7 +2262,7 @@ module OCI
1806
2262
  query_params: query_params,
1807
2263
  operation_signing_strategy: operation_signing_strategy,
1808
2264
  body: post_body,
1809
- return_type: 'OCI::CloudGuard::Models::ResponderExecution'
2265
+ return_type: 'OCI::CloudGuard::Models::ResourceProfile'
1810
2266
  )
1811
2267
  end
1812
2268
  # rubocop:enable Metrics/BlockLength
@@ -1820,19 +2276,74 @@ module OCI
1820
2276
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1821
2277
 
1822
2278
 
1823
- # Get a ResponderRecipe by identifier
1824
- # @param [String] responder_recipe_id OCID of ResponderRecipe
2279
+ # Returns a Responder Execution identified by responderExecutionId
2280
+ #
2281
+ # @param [String] responder_execution_id The identifier of the responder execution.
1825
2282
  # @param [Hash] opts the optional parameters
1826
2283
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1827
2284
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1828
2285
  # @option opts [String] :opc_request_id The client request ID for tracing.
1829
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRecipe ResponderRecipe}
1830
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_responder_recipe.rb.html) to see an example of how to use get_responder_recipe API.
1831
- def get_responder_recipe(responder_recipe_id, opts = {})
1832
- logger.debug 'Calling operation CloudGuardClient#get_responder_recipe.' if logger
2286
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderExecution ResponderExecution}
2287
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_responder_execution.rb.html) to see an example of how to use get_responder_execution API.
2288
+ def get_responder_execution(responder_execution_id, opts = {})
2289
+ logger.debug 'Calling operation CloudGuardClient#get_responder_execution.' if logger
1833
2290
 
1834
- raise "Missing the required parameter 'responder_recipe_id' when calling get_responder_recipe." if responder_recipe_id.nil?
1835
- raise "Parameter value for 'responder_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(responder_recipe_id)
2291
+ raise "Missing the required parameter 'responder_execution_id' when calling get_responder_execution." if responder_execution_id.nil?
2292
+ raise "Parameter value for 'responder_execution_id' must not be blank" if OCI::Internal::Util.blank_string?(responder_execution_id)
2293
+
2294
+ path = '/responderExecutions/{responderExecutionId}'.sub('{responderExecutionId}', responder_execution_id.to_s)
2295
+ operation_signing_strategy = :standard
2296
+
2297
+ # rubocop:disable Style/NegatedIf
2298
+ # Query Params
2299
+ query_params = {}
2300
+
2301
+ # Header Params
2302
+ header_params = {}
2303
+ header_params[:accept] = 'application/json'
2304
+ header_params[:'content-type'] = 'application/json'
2305
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2306
+ # rubocop:enable Style/NegatedIf
2307
+
2308
+ post_body = nil
2309
+
2310
+ # rubocop:disable Metrics/BlockLength
2311
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_responder_execution') do
2312
+ @api_client.call_api(
2313
+ :GET,
2314
+ path,
2315
+ endpoint,
2316
+ header_params: header_params,
2317
+ query_params: query_params,
2318
+ operation_signing_strategy: operation_signing_strategy,
2319
+ body: post_body,
2320
+ return_type: 'OCI::CloudGuard::Models::ResponderExecution'
2321
+ )
2322
+ end
2323
+ # rubocop:enable Metrics/BlockLength
2324
+ end
2325
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2326
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2327
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2328
+
2329
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2330
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2331
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2332
+
2333
+
2334
+ # Get a ResponderRecipe by identifier
2335
+ # @param [String] responder_recipe_id OCID of ResponderRecipe
2336
+ # @param [Hash] opts the optional parameters
2337
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2338
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2339
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2340
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRecipe ResponderRecipe}
2341
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_responder_recipe.rb.html) to see an example of how to use get_responder_recipe API.
2342
+ def get_responder_recipe(responder_recipe_id, opts = {})
2343
+ logger.debug 'Calling operation CloudGuardClient#get_responder_recipe.' if logger
2344
+
2345
+ raise "Missing the required parameter 'responder_recipe_id' when calling get_responder_recipe." if responder_recipe_id.nil?
2346
+ raise "Parameter value for 'responder_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(responder_recipe_id)
1836
2347
 
1837
2348
  path = '/responderRecipes/{responderRecipeId}'.sub('{responderRecipeId}', responder_recipe_id.to_s)
1838
2349
  operation_signing_strategy = :standard
@@ -1985,6 +2496,222 @@ module OCI
1985
2496
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1986
2497
 
1987
2498
 
2499
+ # Gets a security zone policy using its identifier. When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is denied.
2500
+ # @param [String] security_policy_id The unique identifier of the security zone policy (`SecurityPolicy`)
2501
+ # @param [Hash] opts the optional parameters
2502
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2503
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2504
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2505
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityPolicy SecurityPolicy}
2506
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_security_policy.rb.html) to see an example of how to use get_security_policy API.
2507
+ def get_security_policy(security_policy_id, opts = {})
2508
+ logger.debug 'Calling operation CloudGuardClient#get_security_policy.' if logger
2509
+
2510
+ raise "Missing the required parameter 'security_policy_id' when calling get_security_policy." if security_policy_id.nil?
2511
+ raise "Parameter value for 'security_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(security_policy_id)
2512
+
2513
+ path = '/securityPolicies/{securityPolicyId}'.sub('{securityPolicyId}', security_policy_id.to_s)
2514
+ operation_signing_strategy = :standard
2515
+
2516
+ # rubocop:disable Style/NegatedIf
2517
+ # Query Params
2518
+ query_params = {}
2519
+
2520
+ # Header Params
2521
+ header_params = {}
2522
+ header_params[:accept] = 'application/json'
2523
+ header_params[:'content-type'] = 'application/json'
2524
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2525
+ # rubocop:enable Style/NegatedIf
2526
+
2527
+ post_body = nil
2528
+
2529
+ # rubocop:disable Metrics/BlockLength
2530
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_security_policy') do
2531
+ @api_client.call_api(
2532
+ :GET,
2533
+ path,
2534
+ endpoint,
2535
+ header_params: header_params,
2536
+ query_params: query_params,
2537
+ operation_signing_strategy: operation_signing_strategy,
2538
+ body: post_body,
2539
+ return_type: 'OCI::CloudGuard::Models::SecurityPolicy'
2540
+ )
2541
+ end
2542
+ # rubocop:enable Metrics/BlockLength
2543
+ end
2544
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2545
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2546
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2547
+
2548
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2549
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2550
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2551
+
2552
+
2553
+ # Gets a security zone recipe by identifier. A security zone recipe is a collection of security zone policies.
2554
+ # @param [String] security_recipe_id The unique identifier of the security zone recipe (`SecurityRecipe`)
2555
+ # @param [Hash] opts the optional parameters
2556
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2557
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2558
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2559
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityRecipe SecurityRecipe}
2560
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_security_recipe.rb.html) to see an example of how to use get_security_recipe API.
2561
+ def get_security_recipe(security_recipe_id, opts = {})
2562
+ logger.debug 'Calling operation CloudGuardClient#get_security_recipe.' if logger
2563
+
2564
+ raise "Missing the required parameter 'security_recipe_id' when calling get_security_recipe." if security_recipe_id.nil?
2565
+ raise "Parameter value for 'security_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(security_recipe_id)
2566
+
2567
+ path = '/securityRecipes/{securityRecipeId}'.sub('{securityRecipeId}', security_recipe_id.to_s)
2568
+ operation_signing_strategy = :standard
2569
+
2570
+ # rubocop:disable Style/NegatedIf
2571
+ # Query Params
2572
+ query_params = {}
2573
+
2574
+ # Header Params
2575
+ header_params = {}
2576
+ header_params[:accept] = 'application/json'
2577
+ header_params[:'content-type'] = 'application/json'
2578
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2579
+ # rubocop:enable Style/NegatedIf
2580
+
2581
+ post_body = nil
2582
+
2583
+ # rubocop:disable Metrics/BlockLength
2584
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_security_recipe') do
2585
+ @api_client.call_api(
2586
+ :GET,
2587
+ path,
2588
+ endpoint,
2589
+ header_params: header_params,
2590
+ query_params: query_params,
2591
+ operation_signing_strategy: operation_signing_strategy,
2592
+ body: post_body,
2593
+ return_type: 'OCI::CloudGuard::Models::SecurityRecipe'
2594
+ )
2595
+ end
2596
+ # rubocop:enable Metrics/BlockLength
2597
+ end
2598
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2599
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2600
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2601
+
2602
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2603
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2604
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2605
+
2606
+
2607
+ # Gets a security zone by its identifier. A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartments that violate a policy are denied.
2608
+ # @param [String] security_zone_id The unique identifier of the security zone (`SecurityZone`)
2609
+ # @param [Hash] opts the optional parameters
2610
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2611
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2612
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2613
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityZone SecurityZone}
2614
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_security_zone.rb.html) to see an example of how to use get_security_zone API.
2615
+ def get_security_zone(security_zone_id, opts = {})
2616
+ logger.debug 'Calling operation CloudGuardClient#get_security_zone.' if logger
2617
+
2618
+ raise "Missing the required parameter 'security_zone_id' when calling get_security_zone." if security_zone_id.nil?
2619
+ raise "Parameter value for 'security_zone_id' must not be blank" if OCI::Internal::Util.blank_string?(security_zone_id)
2620
+
2621
+ path = '/securityZones/{securityZoneId}'.sub('{securityZoneId}', security_zone_id.to_s)
2622
+ operation_signing_strategy = :standard
2623
+
2624
+ # rubocop:disable Style/NegatedIf
2625
+ # Query Params
2626
+ query_params = {}
2627
+
2628
+ # Header Params
2629
+ header_params = {}
2630
+ header_params[:accept] = 'application/json'
2631
+ header_params[:'content-type'] = 'application/json'
2632
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2633
+ # rubocop:enable Style/NegatedIf
2634
+
2635
+ post_body = nil
2636
+
2637
+ # rubocop:disable Metrics/BlockLength
2638
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_security_zone') do
2639
+ @api_client.call_api(
2640
+ :GET,
2641
+ path,
2642
+ endpoint,
2643
+ header_params: header_params,
2644
+ query_params: query_params,
2645
+ operation_signing_strategy: operation_signing_strategy,
2646
+ body: post_body,
2647
+ return_type: 'OCI::CloudGuard::Models::SecurityZone'
2648
+ )
2649
+ end
2650
+ # rubocop:enable Metrics/BlockLength
2651
+ end
2652
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2653
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2654
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2655
+
2656
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2657
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2658
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2659
+
2660
+
2661
+ # Returns Sighting details
2662
+ # @param [String] sighting_id OCID of the sighting.
2663
+ # @param [Hash] opts the optional parameters
2664
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2665
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2666
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2667
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::Sighting Sighting}
2668
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/get_sighting.rb.html) to see an example of how to use get_sighting API.
2669
+ def get_sighting(sighting_id, opts = {})
2670
+ logger.debug 'Calling operation CloudGuardClient#get_sighting.' if logger
2671
+
2672
+ raise "Missing the required parameter 'sighting_id' when calling get_sighting." if sighting_id.nil?
2673
+ raise "Parameter value for 'sighting_id' must not be blank" if OCI::Internal::Util.blank_string?(sighting_id)
2674
+
2675
+ path = '/sightings/{sightingId}'.sub('{sightingId}', sighting_id.to_s)
2676
+ operation_signing_strategy = :standard
2677
+
2678
+ # rubocop:disable Style/NegatedIf
2679
+ # Query Params
2680
+ query_params = {}
2681
+
2682
+ # Header Params
2683
+ header_params = {}
2684
+ header_params[:accept] = 'application/json'
2685
+ header_params[:'content-type'] = 'application/json'
2686
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2687
+ # rubocop:enable Style/NegatedIf
2688
+
2689
+ post_body = nil
2690
+
2691
+ # rubocop:disable Metrics/BlockLength
2692
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#get_sighting') do
2693
+ @api_client.call_api(
2694
+ :GET,
2695
+ path,
2696
+ endpoint,
2697
+ header_params: header_params,
2698
+ query_params: query_params,
2699
+ operation_signing_strategy: operation_signing_strategy,
2700
+ body: post_body,
2701
+ return_type: 'OCI::CloudGuard::Models::Sighting'
2702
+ )
2703
+ end
2704
+ # rubocop:enable Metrics/BlockLength
2705
+ end
2706
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2707
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2708
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2709
+
2710
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2711
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2712
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2713
+
2714
+
1988
2715
  # Returns a Target identified by targetId
1989
2716
  # @param [String] target_id OCID of target
1990
2717
  # @param [Hash] opts the optional parameters
@@ -3169,9 +3896,8 @@ module OCI
3169
3896
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3170
3897
 
3171
3898
 
3172
- # Returns a list of Actions done on CloudGuard Problem
3899
+ # Returns a list of endpoints associated with a cloud guard problem
3173
3900
  #
3174
- # @param [String] compartment_id The ID of the compartment in which to list resources.
3175
3901
  # @param [String] problem_id OCId of the problem.
3176
3902
  # @param [Hash] opts the optional parameters
3177
3903
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -3183,13 +3909,12 @@ module OCI
3183
3909
  # (default to timeCreated)
3184
3910
  # Allowed values are: timeCreated
3185
3911
  # @option opts [String] :opc_request_id The client request ID for tracing.
3186
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ProblemHistoryCollection ProblemHistoryCollection}
3187
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_problem_histories.rb.html) to see an example of how to use list_problem_histories API.
3188
- def list_problem_histories(compartment_id, problem_id, opts = {})
3189
- logger.debug 'Calling operation CloudGuardClient#list_problem_histories.' if logger
3912
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ProblemEndpointCollection ProblemEndpointCollection}
3913
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_problem_endpoints.rb.html) to see an example of how to use list_problem_endpoints API.
3914
+ def list_problem_endpoints(problem_id, opts = {})
3915
+ logger.debug 'Calling operation CloudGuardClient#list_problem_endpoints.' if logger
3190
3916
 
3191
- raise "Missing the required parameter 'compartment_id' when calling list_problem_histories." if compartment_id.nil?
3192
- raise "Missing the required parameter 'problem_id' when calling list_problem_histories." if problem_id.nil?
3917
+ raise "Missing the required parameter 'problem_id' when calling list_problem_endpoints." if problem_id.nil?
3193
3918
 
3194
3919
  if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
3195
3920
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
@@ -3200,13 +3925,12 @@ module OCI
3200
3925
  end
3201
3926
  raise "Parameter value for 'problem_id' must not be blank" if OCI::Internal::Util.blank_string?(problem_id)
3202
3927
 
3203
- path = '/problems/{problemId}/histories'.sub('{problemId}', problem_id.to_s)
3928
+ path = '/problems/{problemId}/endpoints'.sub('{problemId}', problem_id.to_s)
3204
3929
  operation_signing_strategy = :standard
3205
3930
 
3206
3931
  # rubocop:disable Style/NegatedIf
3207
3932
  # Query Params
3208
3933
  query_params = {}
3209
- query_params[:compartmentId] = compartment_id
3210
3934
  query_params[:limit] = opts[:limit] if opts[:limit]
3211
3935
  query_params[:page] = opts[:page] if opts[:page]
3212
3936
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
@@ -3222,7 +3946,7 @@ module OCI
3222
3946
  post_body = nil
3223
3947
 
3224
3948
  # rubocop:disable Metrics/BlockLength
3225
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_problem_histories') do
3949
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_problem_endpoints') do
3226
3950
  @api_client.call_api(
3227
3951
  :GET,
3228
3952
  path,
@@ -3231,7 +3955,7 @@ module OCI
3231
3955
  query_params: query_params,
3232
3956
  operation_signing_strategy: operation_signing_strategy,
3233
3957
  body: post_body,
3234
- return_type: 'OCI::CloudGuard::Models::ProblemHistoryCollection'
3958
+ return_type: 'OCI::CloudGuard::Models::ProblemEndpointCollection'
3235
3959
  )
3236
3960
  end
3237
3961
  # rubocop:enable Metrics/BlockLength
@@ -3245,21 +3969,97 @@ module OCI
3245
3969
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3246
3970
 
3247
3971
 
3248
- # Returns a list of all Problems identified by the Cloud Guard
3249
- #
3250
- # The ListProblems operation returns only the problems in `compartmentId` passed.
3251
- # The list does not include any subcompartments of the compartmentId passed.
3252
- #
3253
- # The parameter `accessLevel` specifies whether to return only those compartments for which the
3254
- # requestor has INSPECT permissions on at least one resource directly
3255
- # or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
3256
- # Principal doesn't have access to even one of the child compartments. This is valid only when
3257
- # `compartmentIdInSubtree` is set to `true`.
3258
- #
3259
- # The parameter `compartmentIdInSubtree` applies when you perform ListProblems on the
3260
- # `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
3261
- # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
3262
- # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
3972
+ # Returns a list of Actions done on CloudGuard Problem
3973
+ #
3974
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
3975
+ # @param [String] problem_id OCId of the problem.
3976
+ # @param [Hash] opts the optional parameters
3977
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3978
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3979
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3980
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3981
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3982
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
3983
+ # (default to timeCreated)
3984
+ # Allowed values are: timeCreated
3985
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3986
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ProblemHistoryCollection ProblemHistoryCollection}
3987
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_problem_histories.rb.html) to see an example of how to use list_problem_histories API.
3988
+ def list_problem_histories(compartment_id, problem_id, opts = {})
3989
+ logger.debug 'Calling operation CloudGuardClient#list_problem_histories.' if logger
3990
+
3991
+ raise "Missing the required parameter 'compartment_id' when calling list_problem_histories." if compartment_id.nil?
3992
+ raise "Missing the required parameter 'problem_id' when calling list_problem_histories." if problem_id.nil?
3993
+
3994
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
3995
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
3996
+ end
3997
+
3998
+ if opts[:sort_by] && !%w[timeCreated].include?(opts[:sort_by])
3999
+ raise 'Invalid value for "sort_by", must be one of timeCreated.'
4000
+ end
4001
+ raise "Parameter value for 'problem_id' must not be blank" if OCI::Internal::Util.blank_string?(problem_id)
4002
+
4003
+ path = '/problems/{problemId}/histories'.sub('{problemId}', problem_id.to_s)
4004
+ operation_signing_strategy = :standard
4005
+
4006
+ # rubocop:disable Style/NegatedIf
4007
+ # Query Params
4008
+ query_params = {}
4009
+ query_params[:compartmentId] = compartment_id
4010
+ query_params[:limit] = opts[:limit] if opts[:limit]
4011
+ query_params[:page] = opts[:page] if opts[:page]
4012
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
4013
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
4014
+
4015
+ # Header Params
4016
+ header_params = {}
4017
+ header_params[:accept] = 'application/json'
4018
+ header_params[:'content-type'] = 'application/json'
4019
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4020
+ # rubocop:enable Style/NegatedIf
4021
+
4022
+ post_body = nil
4023
+
4024
+ # rubocop:disable Metrics/BlockLength
4025
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_problem_histories') do
4026
+ @api_client.call_api(
4027
+ :GET,
4028
+ path,
4029
+ endpoint,
4030
+ header_params: header_params,
4031
+ query_params: query_params,
4032
+ operation_signing_strategy: operation_signing_strategy,
4033
+ body: post_body,
4034
+ return_type: 'OCI::CloudGuard::Models::ProblemHistoryCollection'
4035
+ )
4036
+ end
4037
+ # rubocop:enable Metrics/BlockLength
4038
+ end
4039
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4040
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4041
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4042
+
4043
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4044
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4045
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4046
+
4047
+
4048
+ # Returns a list of all Problems identified by the Cloud Guard
4049
+ #
4050
+ # The ListProblems operation returns only the problems in `compartmentId` passed.
4051
+ # The list does not include any subcompartments of the compartmentId passed.
4052
+ #
4053
+ # The parameter `accessLevel` specifies whether to return only those compartments for which the
4054
+ # requestor has INSPECT permissions on at least one resource directly
4055
+ # or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
4056
+ # Principal doesn't have access to even one of the child compartments. This is valid only when
4057
+ # `compartmentIdInSubtree` is set to `true`.
4058
+ #
4059
+ # The parameter `compartmentIdInSubtree` applies when you perform ListProblems on the
4060
+ # `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
4061
+ # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
4062
+ # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
3263
4063
  #
3264
4064
  # @param [String] compartment_id The ID of the compartment in which to list resources.
3265
4065
  # @param [Hash] opts the optional parameters
@@ -3282,6 +4082,8 @@ module OCI
3282
4082
  # @option opts [String] :detector_type The field to list the Problems by Detector Type. Valid values are IAAS_ACTIVITY_DETECTOR and IAAS_CONFIGURATION_DETECTOR
3283
4083
  #
3284
4084
  # @option opts [String] :target_id The ID of the target in which to list resources.
4085
+ # @option opts [String] :problem_category Setting this to `SECURITY_ZONE` returns only security-zone related violations.
4086
+ #
3285
4087
  # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
3286
4088
  # When set to true, the hierarchy of compartments is traversed
3287
4089
  # and all compartments and subcompartments in the tenancy are
@@ -3321,6 +4123,10 @@ module OCI
3321
4123
  raise 'Invalid value for "detector_type", must be one of the values in OCI::CloudGuard::Models::DETECTOR_ENUM_ENUM.'
3322
4124
  end
3323
4125
 
4126
+ if opts[:problem_category] && !OCI::CloudGuard::Models::PROBLEM_CATEGORY_ENUM_ENUM.include?(opts[:problem_category])
4127
+ raise 'Invalid value for "problem_category", must be one of the values in OCI::CloudGuard::Models::PROBLEM_CATEGORY_ENUM_ENUM.'
4128
+ end
4129
+
3324
4130
  if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
3325
4131
  raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
3326
4132
  end
@@ -3356,6 +4162,7 @@ module OCI
3356
4162
  query_params[:detectorRuleIdList] = OCI::ApiClient.build_collection_params(opts[:detector_rule_id_list], :multi) if opts[:detector_rule_id_list] && !opts[:detector_rule_id_list].empty?
3357
4163
  query_params[:detectorType] = opts[:detector_type] if opts[:detector_type]
3358
4164
  query_params[:targetId] = opts[:target_id] if opts[:target_id]
4165
+ query_params[:problemCategory] = opts[:problem_category] if opts[:problem_category]
3359
4166
  query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
3360
4167
  query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
3361
4168
  query_params[:resourceId] = opts[:resource_id] if opts[:resource_id]
@@ -3502,47 +4309,40 @@ module OCI
3502
4309
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3503
4310
 
3504
4311
 
3505
- # Returns a list of resource types.
3506
- #
3507
- # @param [String] compartment_id The ID of the compartment in which to list resources.
4312
+ # Returns a list of endpoints for Cloud Guard resource profile
4313
+ # @param [String] resource_profile_id OCID of the resource profile.
3508
4314
  # @param [Hash] opts the optional parameters
3509
4315
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3510
4316
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3511
- # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
3512
4317
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3513
4318
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3514
4319
  # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3515
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
3516
- # (default to displayName)
3517
- # Allowed values are: displayName, riskLevel
4320
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
4321
+ # (default to timeCreated)
4322
+ # Allowed values are: timeCreated
3518
4323
  # @option opts [String] :opc_request_id The client request ID for tracing.
3519
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceTypeCollection ResourceTypeCollection}
3520
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_resource_types.rb.html) to see an example of how to use list_resource_types API.
3521
- def list_resource_types(compartment_id, opts = {})
3522
- logger.debug 'Calling operation CloudGuardClient#list_resource_types.' if logger
3523
-
3524
- raise "Missing the required parameter 'compartment_id' when calling list_resource_types." if compartment_id.nil?
4324
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceProfileEndpointCollection ResourceProfileEndpointCollection}
4325
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_resource_profile_endpoints.rb.html) to see an example of how to use list_resource_profile_endpoints API.
4326
+ def list_resource_profile_endpoints(resource_profile_id, opts = {})
4327
+ logger.debug 'Calling operation CloudGuardClient#list_resource_profile_endpoints.' if logger
3525
4328
 
3526
- if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
3527
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
3528
- end
4329
+ raise "Missing the required parameter 'resource_profile_id' when calling list_resource_profile_endpoints." if resource_profile_id.nil?
3529
4330
 
3530
4331
  if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
3531
4332
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
3532
4333
  end
3533
4334
 
3534
- if opts[:sort_by] && !%w[displayName riskLevel].include?(opts[:sort_by])
3535
- raise 'Invalid value for "sort_by", must be one of displayName, riskLevel.'
4335
+ if opts[:sort_by] && !%w[timeCreated].include?(opts[:sort_by])
4336
+ raise 'Invalid value for "sort_by", must be one of timeCreated.'
3536
4337
  end
4338
+ raise "Parameter value for 'resource_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_profile_id)
3537
4339
 
3538
- path = '/resourceTypes'
4340
+ path = '/resourceProfiles/{resourceProfileId}/endpoints'.sub('{resourceProfileId}', resource_profile_id.to_s)
3539
4341
  operation_signing_strategy = :standard
3540
4342
 
3541
4343
  # rubocop:disable Style/NegatedIf
3542
4344
  # Query Params
3543
4345
  query_params = {}
3544
- query_params[:compartmentId] = compartment_id
3545
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
3546
4346
  query_params[:limit] = opts[:limit] if opts[:limit]
3547
4347
  query_params[:page] = opts[:page] if opts[:page]
3548
4348
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
@@ -3558,7 +4358,7 @@ module OCI
3558
4358
  post_body = nil
3559
4359
 
3560
4360
  # rubocop:disable Metrics/BlockLength
3561
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_resource_types') do
4361
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_resource_profile_endpoints') do
3562
4362
  @api_client.call_api(
3563
4363
  :GET,
3564
4364
  path,
@@ -3567,7 +4367,7 @@ module OCI
3567
4367
  query_params: query_params,
3568
4368
  operation_signing_strategy: operation_signing_strategy,
3569
4369
  body: post_body,
3570
- return_type: 'OCI::CloudGuard::Models::ResourceTypeCollection'
4370
+ return_type: 'OCI::CloudGuard::Models::ResourceProfileEndpointCollection'
3571
4371
  )
3572
4372
  end
3573
4373
  # rubocop:enable Metrics/BlockLength
@@ -3581,36 +4381,35 @@ module OCI
3581
4381
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3582
4382
 
3583
4383
 
3584
- # Returns a list of Responder activities done on CloudGuard Problem
3585
- #
3586
- # @param [String] problem_id OCId of the problem.
4384
+ # Returns a list of impacted resources for Cloud Guard resource profile
4385
+ # @param [String] resource_profile_id OCID of the resource profile.
3587
4386
  # @param [Hash] opts the optional parameters
3588
4387
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3589
4388
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3590
4389
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3591
4390
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3592
4391
  # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3593
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default.
4392
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
3594
4393
  # (default to timeCreated)
3595
- # Allowed values are: timeCreated, responderRuleName
4394
+ # Allowed values are: timeCreated
3596
4395
  # @option opts [String] :opc_request_id The client request ID for tracing.
3597
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderActivityCollection ResponderActivityCollection}
3598
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_activities.rb.html) to see an example of how to use list_responder_activities API.
3599
- def list_responder_activities(problem_id, opts = {})
3600
- logger.debug 'Calling operation CloudGuardClient#list_responder_activities.' if logger
4396
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceProfileImpactedResourceCollection ResourceProfileImpactedResourceCollection}
4397
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_resource_profile_impacted_resources.rb.html) to see an example of how to use list_resource_profile_impacted_resources API.
4398
+ def list_resource_profile_impacted_resources(resource_profile_id, opts = {})
4399
+ logger.debug 'Calling operation CloudGuardClient#list_resource_profile_impacted_resources.' if logger
3601
4400
 
3602
- raise "Missing the required parameter 'problem_id' when calling list_responder_activities." if problem_id.nil?
4401
+ raise "Missing the required parameter 'resource_profile_id' when calling list_resource_profile_impacted_resources." if resource_profile_id.nil?
3603
4402
 
3604
4403
  if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
3605
4404
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
3606
4405
  end
3607
4406
 
3608
- if opts[:sort_by] && !%w[timeCreated responderRuleName].include?(opts[:sort_by])
3609
- raise 'Invalid value for "sort_by", must be one of timeCreated, responderRuleName.'
4407
+ if opts[:sort_by] && !%w[timeCreated].include?(opts[:sort_by])
4408
+ raise 'Invalid value for "sort_by", must be one of timeCreated.'
3610
4409
  end
3611
- raise "Parameter value for 'problem_id' must not be blank" if OCI::Internal::Util.blank_string?(problem_id)
4410
+ raise "Parameter value for 'resource_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_profile_id)
3612
4411
 
3613
- path = '/problems/{problemId}/responderActivities'.sub('{problemId}', problem_id.to_s)
4412
+ path = '/resourceProfiles/{resourceProfileId}/impactedResources'.sub('{resourceProfileId}', resource_profile_id.to_s)
3614
4413
  operation_signing_strategy = :standard
3615
4414
 
3616
4415
  # rubocop:disable Style/NegatedIf
@@ -3631,7 +4430,7 @@ module OCI
3631
4430
  post_body = nil
3632
4431
 
3633
4432
  # rubocop:disable Metrics/BlockLength
3634
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_activities') do
4433
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_resource_profile_impacted_resources') do
3635
4434
  @api_client.call_api(
3636
4435
  :GET,
3637
4436
  path,
@@ -3640,7 +4439,7 @@ module OCI
3640
4439
  query_params: query_params,
3641
4440
  operation_signing_strategy: operation_signing_strategy,
3642
4441
  body: post_body,
3643
- return_type: 'OCI::CloudGuard::Models::ResponderActivityCollection'
4442
+ return_type: 'OCI::CloudGuard::Models::ResourceProfileImpactedResourceCollection'
3644
4443
  )
3645
4444
  end
3646
4445
  # rubocop:enable Metrics/BlockLength
@@ -3654,12 +4453,29 @@ module OCI
3654
4453
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3655
4454
 
3656
4455
 
3657
- # Returns a list of Responder Executions. A Responder Execution is an entity that tracks the collective execution of multiple Responder Rule Executions for a given Problem.
4456
+ # Returns a list of all resource profiles identified by the Cloud Guard
4457
+ # The ListResourceProfiles operation returns only resource profiles that match the passed filters.
4458
+ #
4459
+ # The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed.
4460
+ # The parameter `accessLevel` specifies whether to return only those compartments for which the
4461
+ # requestor has INSPECT permissions on at least one resource directly
4462
+ # or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
4463
+ # Principal doesn't have access to even one of the child compartments. This is valid only when
4464
+ # `compartmentIdInSubtree` is set to `true`.
4465
+ #
4466
+ # The parameter `compartmentIdInSubtree` applies when you perform ListResourceProfiles on the
4467
+ # `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
4468
+ # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
4469
+ # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
3658
4470
  #
3659
4471
  # @param [String] compartment_id The ID of the compartment in which to list resources.
3660
4472
  # @param [Hash] opts the optional parameters
3661
4473
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3662
4474
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4475
+ # @option opts [DateTime] :time_last_detected_greater_than_or_equal_to Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
4476
+ # @option opts [DateTime] :time_last_detected_less_than_or_equal_to End time for a filter. If end time is not specified, end time will be set to current time.
4477
+ # @option opts [DateTime] :time_first_detected_greater_than_or_equal_to Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
4478
+ # @option opts [DateTime] :time_first_detected_less_than_or_equal_to End time for a filter. If end time is not specified, end time will be set to current time.
3663
4479
  # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
3664
4480
  # When set to true, the hierarchy of compartments is traversed
3665
4481
  # and all compartments and subcompartments in the tenancy are
@@ -3672,75 +4488,945 @@ module OCI
3672
4488
  # When set to `RESTRICTED` permissions are checked and no partial results are displayed.
3673
4489
  # (default to RESTRICTED)
3674
4490
  # Allowed values are: RESTRICTED, ACCESSIBLE
3675
- # @option opts [Array<String>] :responder_rule_ids Responder Rule Ids filter for the Responder Executions. (default to [])
3676
- # @option opts [DateTime] :time_created_greater_than_or_equal_to Creation Start time for filtering
3677
- # @option opts [DateTime] :time_created_less_than_or_equal_to Creation End time for filtering
3678
- # @option opts [DateTime] :time_completed_greater_than_or_equal_to Completion End Time
3679
- # @option opts [DateTime] :time_completed_less_than_or_equal_to Completion Start Time
3680
- # @option opts [String] :target_id The ID of the target in which to list resources.
3681
- # @option opts [String] :resource_type Resource Type associated with the resource.
3682
- # @option opts [String] :responder_type The field to list the Responder Executions by Responder Type. Valid values are REMEDIATION and NOTIFICATION
3683
- #
3684
- # Allowed values are: REMEDIATION, NOTIFICATION
3685
- # @option opts [String] :responder_execution_status The status of the responder execution in which to list responders. (default to ALL)
3686
- # @option opts [String] :responder_execution_mode The mode of the responder execution in which to list responders. (default to ALL)
4491
+ # @option opts [Array<String>] :resource_types A filter to return only resources that match the list of resource types given (default to [])
4492
+ # @option opts [Float] :risk_score_greater_than_or_equal_to risk score filter
4493
+ # @option opts [Float] :risk_score_less_than_or_equal_to risk score filter
4494
+ # @option opts [Array<String>] :techniques A filter to return only resources that match the list of techniques given (default to [])
4495
+ # @option opts [Array<String>] :tactics A filter to return only resources that match the list of tactics given. (default to [])
3687
4496
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3688
4497
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3689
4498
  # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3690
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default.
3691
- # (default to timeCreated)
3692
- # Allowed values are: timeCreated, responderRuleName, resourceName, timeCompleted
4499
+ # @option opts [String] :sort_by The field to sort resource profiles. Only one sort order may be provided. Default order for timeLastDetected is descending. If no value is specified timeLastDetected is default.
4500
+ # (default to timeLastDetected)
4501
+ # Allowed values are: riskScore, riskScoreGrowth, timeFirstDetected, timeLastDetected, sightingsCount, displayName, type
3693
4502
  # @option opts [String] :opc_request_id The client request ID for tracing.
3694
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderExecutionCollection ResponderExecutionCollection}
3695
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_executions.rb.html) to see an example of how to use list_responder_executions API.
3696
- def list_responder_executions(compartment_id, opts = {})
3697
- logger.debug 'Calling operation CloudGuardClient#list_responder_executions.' if logger
4503
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceProfileCollection ResourceProfileCollection}
4504
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_resource_profiles.rb.html) to see an example of how to use list_resource_profiles API.
4505
+ def list_resource_profiles(compartment_id, opts = {})
4506
+ logger.debug 'Calling operation CloudGuardClient#list_resource_profiles.' if logger
3698
4507
 
3699
- raise "Missing the required parameter 'compartment_id' when calling list_responder_executions." if compartment_id.nil?
4508
+ raise "Missing the required parameter 'compartment_id' when calling list_resource_profiles." if compartment_id.nil?
3700
4509
 
3701
4510
  if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
3702
4511
  raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
3703
4512
  end
3704
4513
 
3705
- if opts[:responder_type] && !%w[REMEDIATION NOTIFICATION].include?(opts[:responder_type])
3706
- raise 'Invalid value for "responder_type", must be one of REMEDIATION, NOTIFICATION.'
3707
- end
4514
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
4515
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
4516
+ end
4517
+
4518
+ if opts[:sort_by] && !%w[riskScore riskScoreGrowth timeFirstDetected timeLastDetected sightingsCount displayName type].include?(opts[:sort_by])
4519
+ raise 'Invalid value for "sort_by", must be one of riskScore, riskScoreGrowth, timeFirstDetected, timeLastDetected, sightingsCount, displayName, type.'
4520
+ end
4521
+
4522
+ path = '/resourceProfiles'
4523
+ operation_signing_strategy = :standard
4524
+
4525
+ # rubocop:disable Style/NegatedIf
4526
+ # Query Params
4527
+ query_params = {}
4528
+ query_params[:compartmentId] = compartment_id
4529
+ query_params[:timeLastDetectedGreaterThanOrEqualTo] = opts[:time_last_detected_greater_than_or_equal_to] if opts[:time_last_detected_greater_than_or_equal_to]
4530
+ query_params[:timeLastDetectedLessThanOrEqualTo] = opts[:time_last_detected_less_than_or_equal_to] if opts[:time_last_detected_less_than_or_equal_to]
4531
+ query_params[:timeFirstDetectedGreaterThanOrEqualTo] = opts[:time_first_detected_greater_than_or_equal_to] if opts[:time_first_detected_greater_than_or_equal_to]
4532
+ query_params[:timeFirstDetectedLessThanOrEqualTo] = opts[:time_first_detected_less_than_or_equal_to] if opts[:time_first_detected_less_than_or_equal_to]
4533
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
4534
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
4535
+ query_params[:resourceTypes] = OCI::ApiClient.build_collection_params(opts[:resource_types], :multi) if opts[:resource_types] && !opts[:resource_types].empty?
4536
+ query_params[:riskScoreGreaterThanOrEqualTo] = opts[:risk_score_greater_than_or_equal_to] if opts[:risk_score_greater_than_or_equal_to]
4537
+ query_params[:riskScoreLessThanOrEqualTo] = opts[:risk_score_less_than_or_equal_to] if opts[:risk_score_less_than_or_equal_to]
4538
+ query_params[:techniques] = OCI::ApiClient.build_collection_params(opts[:techniques], :multi) if opts[:techniques] && !opts[:techniques].empty?
4539
+ query_params[:tactics] = OCI::ApiClient.build_collection_params(opts[:tactics], :multi) if opts[:tactics] && !opts[:tactics].empty?
4540
+ query_params[:limit] = opts[:limit] if opts[:limit]
4541
+ query_params[:page] = opts[:page] if opts[:page]
4542
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
4543
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
4544
+
4545
+ # Header Params
4546
+ header_params = {}
4547
+ header_params[:accept] = 'application/json'
4548
+ header_params[:'content-type'] = 'application/json'
4549
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4550
+ # rubocop:enable Style/NegatedIf
4551
+
4552
+ post_body = nil
4553
+
4554
+ # rubocop:disable Metrics/BlockLength
4555
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_resource_profiles') do
4556
+ @api_client.call_api(
4557
+ :GET,
4558
+ path,
4559
+ endpoint,
4560
+ header_params: header_params,
4561
+ query_params: query_params,
4562
+ operation_signing_strategy: operation_signing_strategy,
4563
+ body: post_body,
4564
+ return_type: 'OCI::CloudGuard::Models::ResourceProfileCollection'
4565
+ )
4566
+ end
4567
+ # rubocop:enable Metrics/BlockLength
4568
+ end
4569
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4570
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4571
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4572
+
4573
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4574
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4575
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4576
+
4577
+
4578
+ # Returns a list of resource types.
4579
+ #
4580
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
4581
+ # @param [Hash] opts the optional parameters
4582
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4583
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4584
+ # @option opts [String] :detector_id Detector type
4585
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
4586
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
4587
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
4588
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
4589
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
4590
+ # (default to displayName)
4591
+ # Allowed values are: displayName, riskLevel
4592
+ # @option opts [String] :opc_request_id The client request ID for tracing.
4593
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceTypeCollection ResourceTypeCollection}
4594
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_resource_types.rb.html) to see an example of how to use list_resource_types API.
4595
+ def list_resource_types(compartment_id, opts = {})
4596
+ logger.debug 'Calling operation CloudGuardClient#list_resource_types.' if logger
4597
+
4598
+ raise "Missing the required parameter 'compartment_id' when calling list_resource_types." if compartment_id.nil?
4599
+
4600
+ if opts[:detector_id] && !OCI::CloudGuard::Models::DETECTOR_ENUM_ENUM.include?(opts[:detector_id])
4601
+ raise 'Invalid value for "detector_id", must be one of the values in OCI::CloudGuard::Models::DETECTOR_ENUM_ENUM.'
4602
+ end
4603
+
4604
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
4605
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
4606
+ end
4607
+
4608
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
4609
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
4610
+ end
4611
+
4612
+ if opts[:sort_by] && !%w[displayName riskLevel].include?(opts[:sort_by])
4613
+ raise 'Invalid value for "sort_by", must be one of displayName, riskLevel.'
4614
+ end
4615
+
4616
+ path = '/resourceTypes'
4617
+ operation_signing_strategy = :standard
4618
+
4619
+ # rubocop:disable Style/NegatedIf
4620
+ # Query Params
4621
+ query_params = {}
4622
+ query_params[:compartmentId] = compartment_id
4623
+ query_params[:detectorId] = opts[:detector_id] if opts[:detector_id]
4624
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
4625
+ query_params[:limit] = opts[:limit] if opts[:limit]
4626
+ query_params[:page] = opts[:page] if opts[:page]
4627
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
4628
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
4629
+
4630
+ # Header Params
4631
+ header_params = {}
4632
+ header_params[:accept] = 'application/json'
4633
+ header_params[:'content-type'] = 'application/json'
4634
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4635
+ # rubocop:enable Style/NegatedIf
4636
+
4637
+ post_body = nil
4638
+
4639
+ # rubocop:disable Metrics/BlockLength
4640
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_resource_types') do
4641
+ @api_client.call_api(
4642
+ :GET,
4643
+ path,
4644
+ endpoint,
4645
+ header_params: header_params,
4646
+ query_params: query_params,
4647
+ operation_signing_strategy: operation_signing_strategy,
4648
+ body: post_body,
4649
+ return_type: 'OCI::CloudGuard::Models::ResourceTypeCollection'
4650
+ )
4651
+ end
4652
+ # rubocop:enable Metrics/BlockLength
4653
+ end
4654
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4655
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4656
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4657
+
4658
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4659
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4660
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4661
+
4662
+
4663
+ # Returns a list of Responder activities done on CloudGuard Problem
4664
+ #
4665
+ # @param [String] problem_id OCId of the problem.
4666
+ # @param [Hash] opts the optional parameters
4667
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4668
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4669
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
4670
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
4671
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
4672
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default.
4673
+ # (default to timeCreated)
4674
+ # Allowed values are: timeCreated, responderRuleName
4675
+ # @option opts [String] :opc_request_id The client request ID for tracing.
4676
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderActivityCollection ResponderActivityCollection}
4677
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_activities.rb.html) to see an example of how to use list_responder_activities API.
4678
+ def list_responder_activities(problem_id, opts = {})
4679
+ logger.debug 'Calling operation CloudGuardClient#list_responder_activities.' if logger
4680
+
4681
+ raise "Missing the required parameter 'problem_id' when calling list_responder_activities." if problem_id.nil?
4682
+
4683
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
4684
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
4685
+ end
4686
+
4687
+ if opts[:sort_by] && !%w[timeCreated responderRuleName].include?(opts[:sort_by])
4688
+ raise 'Invalid value for "sort_by", must be one of timeCreated, responderRuleName.'
4689
+ end
4690
+ raise "Parameter value for 'problem_id' must not be blank" if OCI::Internal::Util.blank_string?(problem_id)
4691
+
4692
+ path = '/problems/{problemId}/responderActivities'.sub('{problemId}', problem_id.to_s)
4693
+ operation_signing_strategy = :standard
4694
+
4695
+ # rubocop:disable Style/NegatedIf
4696
+ # Query Params
4697
+ query_params = {}
4698
+ query_params[:limit] = opts[:limit] if opts[:limit]
4699
+ query_params[:page] = opts[:page] if opts[:page]
4700
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
4701
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
4702
+
4703
+ # Header Params
4704
+ header_params = {}
4705
+ header_params[:accept] = 'application/json'
4706
+ header_params[:'content-type'] = 'application/json'
4707
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4708
+ # rubocop:enable Style/NegatedIf
4709
+
4710
+ post_body = nil
4711
+
4712
+ # rubocop:disable Metrics/BlockLength
4713
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_activities') do
4714
+ @api_client.call_api(
4715
+ :GET,
4716
+ path,
4717
+ endpoint,
4718
+ header_params: header_params,
4719
+ query_params: query_params,
4720
+ operation_signing_strategy: operation_signing_strategy,
4721
+ body: post_body,
4722
+ return_type: 'OCI::CloudGuard::Models::ResponderActivityCollection'
4723
+ )
4724
+ end
4725
+ # rubocop:enable Metrics/BlockLength
4726
+ end
4727
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4728
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4729
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4730
+
4731
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4732
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4733
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4734
+
4735
+
4736
+ # Returns a list of Responder Executions. A Responder Execution is an entity that tracks the collective execution of multiple Responder Rule Executions for a given Problem.
4737
+ #
4738
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
4739
+ # @param [Hash] opts the optional parameters
4740
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4741
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4742
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
4743
+ # When set to true, the hierarchy of compartments is traversed
4744
+ # and all compartments and subcompartments in the tenancy are
4745
+ # returned depending on the the setting of `accessLevel`.
4746
+ # (default to false)
4747
+ # @option opts [String] :access_level Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
4748
+ # Setting this to `ACCESSIBLE` returns only those compartments for which the
4749
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
4750
+ # resource in a subcompartment).
4751
+ # When set to `RESTRICTED` permissions are checked and no partial results are displayed.
4752
+ # (default to RESTRICTED)
4753
+ # Allowed values are: RESTRICTED, ACCESSIBLE
4754
+ # @option opts [Array<String>] :responder_rule_ids Responder Rule Ids filter for the Responder Executions. (default to [])
4755
+ # @option opts [DateTime] :time_created_greater_than_or_equal_to Creation Start time for filtering
4756
+ # @option opts [DateTime] :time_created_less_than_or_equal_to Creation End time for filtering
4757
+ # @option opts [DateTime] :time_completed_greater_than_or_equal_to Completion End Time
4758
+ # @option opts [DateTime] :time_completed_less_than_or_equal_to Completion Start Time
4759
+ # @option opts [String] :target_id The ID of the target in which to list resources.
4760
+ # @option opts [String] :resource_type Resource Type associated with the resource.
4761
+ # @option opts [String] :responder_type The field to list the Responder Executions by Responder Type. Valid values are REMEDIATION and NOTIFICATION
4762
+ #
4763
+ # Allowed values are: REMEDIATION, NOTIFICATION
4764
+ # @option opts [String] :responder_execution_status The status of the responder execution in which to list responders. (default to ALL)
4765
+ # @option opts [String] :responder_execution_mode The mode of the responder execution in which to list responders. (default to ALL)
4766
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
4767
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
4768
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
4769
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default.
4770
+ # (default to timeCreated)
4771
+ # Allowed values are: timeCreated, responderRuleName, resourceName, timeCompleted
4772
+ # @option opts [String] :opc_request_id The client request ID for tracing.
4773
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderExecutionCollection ResponderExecutionCollection}
4774
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_executions.rb.html) to see an example of how to use list_responder_executions API.
4775
+ def list_responder_executions(compartment_id, opts = {})
4776
+ logger.debug 'Calling operation CloudGuardClient#list_responder_executions.' if logger
4777
+
4778
+ raise "Missing the required parameter 'compartment_id' when calling list_responder_executions." if compartment_id.nil?
4779
+
4780
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
4781
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
4782
+ end
4783
+
4784
+ if opts[:responder_type] && !%w[REMEDIATION NOTIFICATION].include?(opts[:responder_type])
4785
+ raise 'Invalid value for "responder_type", must be one of REMEDIATION, NOTIFICATION.'
4786
+ end
4787
+
4788
+ if opts[:responder_execution_status] && !OCI::CloudGuard::Models::RESPONDER_EXECUTION_STATES_ENUM.include?(opts[:responder_execution_status])
4789
+ raise 'Invalid value for "responder_execution_status", must be one of the values in OCI::CloudGuard::Models::RESPONDER_EXECUTION_STATES_ENUM.'
4790
+ end
4791
+
4792
+ if opts[:responder_execution_mode] && !OCI::CloudGuard::Models::RESPONDER_EXECUTION_MODES_ENUM.include?(opts[:responder_execution_mode])
4793
+ raise 'Invalid value for "responder_execution_mode", must be one of the values in OCI::CloudGuard::Models::RESPONDER_EXECUTION_MODES_ENUM.'
4794
+ end
4795
+
4796
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
4797
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
4798
+ end
4799
+
4800
+ if opts[:sort_by] && !%w[timeCreated responderRuleName resourceName timeCompleted].include?(opts[:sort_by])
4801
+ raise 'Invalid value for "sort_by", must be one of timeCreated, responderRuleName, resourceName, timeCompleted.'
4802
+ end
4803
+
4804
+ path = '/responderExecutions'
4805
+ operation_signing_strategy = :standard
4806
+
4807
+ # rubocop:disable Style/NegatedIf
4808
+ # Query Params
4809
+ query_params = {}
4810
+ query_params[:compartmentId] = compartment_id
4811
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
4812
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
4813
+ query_params[:responderRuleIds] = OCI::ApiClient.build_collection_params(opts[:responder_rule_ids], :multi) if opts[:responder_rule_ids] && !opts[:responder_rule_ids].empty?
4814
+ query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
4815
+ query_params[:timeCreatedLessThanOrEqualTo] = opts[:time_created_less_than_or_equal_to] if opts[:time_created_less_than_or_equal_to]
4816
+ query_params[:timeCompletedGreaterThanOrEqualTo] = opts[:time_completed_greater_than_or_equal_to] if opts[:time_completed_greater_than_or_equal_to]
4817
+ query_params[:timeCompletedLessThanOrEqualTo] = opts[:time_completed_less_than_or_equal_to] if opts[:time_completed_less_than_or_equal_to]
4818
+ query_params[:targetId] = opts[:target_id] if opts[:target_id]
4819
+ query_params[:resourceType] = opts[:resource_type] if opts[:resource_type]
4820
+ query_params[:responderType] = opts[:responder_type] if opts[:responder_type]
4821
+ query_params[:responderExecutionStatus] = opts[:responder_execution_status] if opts[:responder_execution_status]
4822
+ query_params[:responderExecutionMode] = opts[:responder_execution_mode] if opts[:responder_execution_mode]
4823
+ query_params[:limit] = opts[:limit] if opts[:limit]
4824
+ query_params[:page] = opts[:page] if opts[:page]
4825
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
4826
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
4827
+
4828
+ # Header Params
4829
+ header_params = {}
4830
+ header_params[:accept] = 'application/json'
4831
+ header_params[:'content-type'] = 'application/json'
4832
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4833
+ # rubocop:enable Style/NegatedIf
4834
+
4835
+ post_body = nil
4836
+
4837
+ # rubocop:disable Metrics/BlockLength
4838
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_executions') do
4839
+ @api_client.call_api(
4840
+ :GET,
4841
+ path,
4842
+ endpoint,
4843
+ header_params: header_params,
4844
+ query_params: query_params,
4845
+ operation_signing_strategy: operation_signing_strategy,
4846
+ body: post_body,
4847
+ return_type: 'OCI::CloudGuard::Models::ResponderExecutionCollection'
4848
+ )
4849
+ end
4850
+ # rubocop:enable Metrics/BlockLength
4851
+ end
4852
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4853
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4854
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4855
+
4856
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4857
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4858
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4859
+
4860
+
4861
+ # Returns a list of ResponderRule associated with ResponderRecipe.
4862
+ #
4863
+ # @param [String] responder_recipe_id OCID of ResponderRecipe
4864
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
4865
+ # @param [Hash] opts the optional parameters
4866
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4867
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4868
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
4869
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
4870
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
4871
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
4872
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
4873
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
4874
+ # (default to displayName)
4875
+ # Allowed values are: displayName, riskLevel
4876
+ # @option opts [String] :opc_request_id The client request ID for tracing.
4877
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRecipeResponderRuleCollection ResponderRecipeResponderRuleCollection}
4878
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_recipe_responder_rules.rb.html) to see an example of how to use list_responder_recipe_responder_rules API.
4879
+ def list_responder_recipe_responder_rules(responder_recipe_id, compartment_id, opts = {})
4880
+ logger.debug 'Calling operation CloudGuardClient#list_responder_recipe_responder_rules.' if logger
4881
+
4882
+ raise "Missing the required parameter 'responder_recipe_id' when calling list_responder_recipe_responder_rules." if responder_recipe_id.nil?
4883
+ raise "Missing the required parameter 'compartment_id' when calling list_responder_recipe_responder_rules." if compartment_id.nil?
4884
+
4885
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
4886
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
4887
+ end
4888
+
4889
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
4890
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
4891
+ end
4892
+
4893
+ if opts[:sort_by] && !%w[displayName riskLevel].include?(opts[:sort_by])
4894
+ raise 'Invalid value for "sort_by", must be one of displayName, riskLevel.'
4895
+ end
4896
+ raise "Parameter value for 'responder_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(responder_recipe_id)
4897
+
4898
+ path = '/responderRecipes/{responderRecipeId}/responderRules'.sub('{responderRecipeId}', responder_recipe_id.to_s)
4899
+ operation_signing_strategy = :standard
4900
+
4901
+ # rubocop:disable Style/NegatedIf
4902
+ # Query Params
4903
+ query_params = {}
4904
+ query_params[:compartmentId] = compartment_id
4905
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
4906
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
4907
+ query_params[:limit] = opts[:limit] if opts[:limit]
4908
+ query_params[:page] = opts[:page] if opts[:page]
4909
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
4910
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
4911
+
4912
+ # Header Params
4913
+ header_params = {}
4914
+ header_params[:accept] = 'application/json'
4915
+ header_params[:'content-type'] = 'application/json'
4916
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4917
+ # rubocop:enable Style/NegatedIf
4918
+
4919
+ post_body = nil
4920
+
4921
+ # rubocop:disable Metrics/BlockLength
4922
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_recipe_responder_rules') do
4923
+ @api_client.call_api(
4924
+ :GET,
4925
+ path,
4926
+ endpoint,
4927
+ header_params: header_params,
4928
+ query_params: query_params,
4929
+ operation_signing_strategy: operation_signing_strategy,
4930
+ body: post_body,
4931
+ return_type: 'OCI::CloudGuard::Models::ResponderRecipeResponderRuleCollection'
4932
+ )
4933
+ end
4934
+ # rubocop:enable Metrics/BlockLength
4935
+ end
4936
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4937
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4938
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4939
+
4940
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4941
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4942
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4943
+
4944
+
4945
+ # Returns a list of all ResponderRecipes in a compartment
4946
+ # The ListResponderRecipe operation returns only the targets in `compartmentId` passed.
4947
+ # The list does not include any subcompartments of the compartmentId passed.
4948
+ #
4949
+ # The parameter `accessLevel` specifies whether to return only those compartments for which the
4950
+ # requestor has INSPECT permissions on at least one resource directly
4951
+ # or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
4952
+ # Principal doesn't have access to even one of the child compartments. This is valid only when
4953
+ # `compartmentIdInSubtree` is set to `true`.
4954
+ #
4955
+ # The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the
4956
+ # `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
4957
+ # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
4958
+ # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
4959
+ #
4960
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
4961
+ # @param [Hash] opts the optional parameters
4962
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4963
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4964
+ # @option opts [BOOLEAN] :resource_metadata_only Default is false.
4965
+ # When set to true, the list of all Oracle Managed Resources
4966
+ # Metadata supported by Cloud Guard are returned.
4967
+ # (default to false)
4968
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
4969
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
4970
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
4971
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
4972
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
4973
+ # When set to true, the hierarchy of compartments is traversed
4974
+ # and all compartments and subcompartments in the tenancy are
4975
+ # returned depending on the the setting of `accessLevel`.
4976
+ # (default to false)
4977
+ # @option opts [String] :access_level Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
4978
+ # Setting this to `ACCESSIBLE` returns only those compartments for which the
4979
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
4980
+ # resource in a subcompartment).
4981
+ # When set to `RESTRICTED` permissions are checked and no partial results are displayed.
4982
+ # (default to RESTRICTED)
4983
+ # Allowed values are: RESTRICTED, ACCESSIBLE
4984
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
4985
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
4986
+ # (default to timeCreated)
4987
+ # Allowed values are: timeCreated, displayName
4988
+ # @option opts [String] :opc_request_id The client request ID for tracing.
4989
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRecipeCollection ResponderRecipeCollection}
4990
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_recipes.rb.html) to see an example of how to use list_responder_recipes API.
4991
+ def list_responder_recipes(compartment_id, opts = {})
4992
+ logger.debug 'Calling operation CloudGuardClient#list_responder_recipes.' if logger
4993
+
4994
+ raise "Missing the required parameter 'compartment_id' when calling list_responder_recipes." if compartment_id.nil?
4995
+
4996
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
4997
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
4998
+ end
4999
+
5000
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
5001
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
5002
+ end
5003
+
5004
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
5005
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
5006
+ end
5007
+
5008
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
5009
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5010
+ end
5011
+
5012
+ path = '/responderRecipes'
5013
+ operation_signing_strategy = :standard
5014
+
5015
+ # rubocop:disable Style/NegatedIf
5016
+ # Query Params
5017
+ query_params = {}
5018
+ query_params[:compartmentId] = compartment_id
5019
+ query_params[:resourceMetadataOnly] = opts[:resource_metadata_only] if !opts[:resource_metadata_only].nil?
5020
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
5021
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
5022
+ query_params[:limit] = opts[:limit] if opts[:limit]
5023
+ query_params[:page] = opts[:page] if opts[:page]
5024
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
5025
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
5026
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
5027
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
5028
+
5029
+ # Header Params
5030
+ header_params = {}
5031
+ header_params[:accept] = 'application/json'
5032
+ header_params[:'content-type'] = 'application/json'
5033
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
5034
+ # rubocop:enable Style/NegatedIf
5035
+
5036
+ post_body = nil
5037
+
5038
+ # rubocop:disable Metrics/BlockLength
5039
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_recipes') do
5040
+ @api_client.call_api(
5041
+ :GET,
5042
+ path,
5043
+ endpoint,
5044
+ header_params: header_params,
5045
+ query_params: query_params,
5046
+ operation_signing_strategy: operation_signing_strategy,
5047
+ body: post_body,
5048
+ return_type: 'OCI::CloudGuard::Models::ResponderRecipeCollection'
5049
+ )
5050
+ end
5051
+ # rubocop:enable Metrics/BlockLength
5052
+ end
5053
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5054
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
5055
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5056
+
5057
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5058
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5059
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5060
+
5061
+
5062
+ # Returns a list of ResponderRule.
5063
+ #
5064
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
5065
+ # @param [Hash] opts the optional parameters
5066
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5067
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5068
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
5069
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
5070
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
5071
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
5072
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
5073
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
5074
+ # (default to timeCreated)
5075
+ # Allowed values are: timeCreated, displayName
5076
+ # @option opts [String] :opc_request_id The client request ID for tracing.
5077
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRuleCollection ResponderRuleCollection}
5078
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_rules.rb.html) to see an example of how to use list_responder_rules API.
5079
+ def list_responder_rules(compartment_id, opts = {})
5080
+ logger.debug 'Calling operation CloudGuardClient#list_responder_rules.' if logger
5081
+
5082
+ raise "Missing the required parameter 'compartment_id' when calling list_responder_rules." if compartment_id.nil?
5083
+
5084
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
5085
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
5086
+ end
5087
+
5088
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
5089
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
5090
+ end
5091
+
5092
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
5093
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5094
+ end
5095
+
5096
+ path = '/responderRules'
5097
+ operation_signing_strategy = :standard
5098
+
5099
+ # rubocop:disable Style/NegatedIf
5100
+ # Query Params
5101
+ query_params = {}
5102
+ query_params[:compartmentId] = compartment_id
5103
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
5104
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
5105
+ query_params[:limit] = opts[:limit] if opts[:limit]
5106
+ query_params[:page] = opts[:page] if opts[:page]
5107
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
5108
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
5109
+
5110
+ # Header Params
5111
+ header_params = {}
5112
+ header_params[:accept] = 'application/json'
5113
+ header_params[:'content-type'] = 'application/json'
5114
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
5115
+ # rubocop:enable Style/NegatedIf
5116
+
5117
+ post_body = nil
5118
+
5119
+ # rubocop:disable Metrics/BlockLength
5120
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_rules') do
5121
+ @api_client.call_api(
5122
+ :GET,
5123
+ path,
5124
+ endpoint,
5125
+ header_params: header_params,
5126
+ query_params: query_params,
5127
+ operation_signing_strategy: operation_signing_strategy,
5128
+ body: post_body,
5129
+ return_type: 'OCI::CloudGuard::Models::ResponderRuleCollection'
5130
+ )
5131
+ end
5132
+ # rubocop:enable Metrics/BlockLength
5133
+ end
5134
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5135
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
5136
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5137
+
5138
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5139
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5140
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5141
+
5142
+
5143
+ # Returns a list of security zone policies. Specify any compartment.
5144
+ #
5145
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
5146
+ # @param [Hash] opts the optional parameters
5147
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5148
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5149
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
5150
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
5151
+ # @option opts [String] :id The unique identifier of the security zone policy (`SecurityPolicy`)
5152
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
5153
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
5154
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
5155
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
5156
+ # (default to timeCreated)
5157
+ # Allowed values are: timeCreated, displayName
5158
+ # @option opts [String] :opc_request_id The client request ID for tracing.
5159
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityPolicyCollection SecurityPolicyCollection}
5160
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_security_policies.rb.html) to see an example of how to use list_security_policies API.
5161
+ def list_security_policies(compartment_id, opts = {})
5162
+ logger.debug 'Calling operation CloudGuardClient#list_security_policies.' if logger
5163
+
5164
+ raise "Missing the required parameter 'compartment_id' when calling list_security_policies." if compartment_id.nil?
5165
+
5166
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
5167
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
5168
+ end
5169
+
5170
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
5171
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
5172
+ end
5173
+
5174
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
5175
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5176
+ end
5177
+
5178
+ path = '/securityPolicies'
5179
+ operation_signing_strategy = :standard
5180
+
5181
+ # rubocop:disable Style/NegatedIf
5182
+ # Query Params
5183
+ query_params = {}
5184
+ query_params[:compartmentId] = compartment_id
5185
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
5186
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
5187
+ query_params[:id] = opts[:id] if opts[:id]
5188
+ query_params[:limit] = opts[:limit] if opts[:limit]
5189
+ query_params[:page] = opts[:page] if opts[:page]
5190
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
5191
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
5192
+
5193
+ # Header Params
5194
+ header_params = {}
5195
+ header_params[:accept] = 'application/json'
5196
+ header_params[:'content-type'] = 'application/json'
5197
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
5198
+ # rubocop:enable Style/NegatedIf
5199
+
5200
+ post_body = nil
5201
+
5202
+ # rubocop:disable Metrics/BlockLength
5203
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_security_policies') do
5204
+ @api_client.call_api(
5205
+ :GET,
5206
+ path,
5207
+ endpoint,
5208
+ header_params: header_params,
5209
+ query_params: query_params,
5210
+ operation_signing_strategy: operation_signing_strategy,
5211
+ body: post_body,
5212
+ return_type: 'OCI::CloudGuard::Models::SecurityPolicyCollection'
5213
+ )
5214
+ end
5215
+ # rubocop:enable Metrics/BlockLength
5216
+ end
5217
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5218
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
5219
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5220
+
5221
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5222
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5223
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5224
+
5225
+
5226
+ # Gets a list of all security zone recipes in a compartment.
5227
+ #
5228
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
5229
+ # @param [Hash] opts the optional parameters
5230
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5231
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5232
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
5233
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
5234
+ # @option opts [String] :id The unique identifier of the security zone recipe (`SecurityRecipe`)
5235
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
5236
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
5237
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
5238
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
5239
+ # (default to timeCreated)
5240
+ # Allowed values are: timeCreated, displayName
5241
+ # @option opts [String] :opc_request_id The client request ID for tracing.
5242
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityRecipeCollection SecurityRecipeCollection}
5243
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_security_recipes.rb.html) to see an example of how to use list_security_recipes API.
5244
+ def list_security_recipes(compartment_id, opts = {})
5245
+ logger.debug 'Calling operation CloudGuardClient#list_security_recipes.' if logger
5246
+
5247
+ raise "Missing the required parameter 'compartment_id' when calling list_security_recipes." if compartment_id.nil?
5248
+
5249
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
5250
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
5251
+ end
5252
+
5253
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
5254
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
5255
+ end
5256
+
5257
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
5258
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5259
+ end
5260
+
5261
+ path = '/securityRecipes'
5262
+ operation_signing_strategy = :standard
5263
+
5264
+ # rubocop:disable Style/NegatedIf
5265
+ # Query Params
5266
+ query_params = {}
5267
+ query_params[:compartmentId] = compartment_id
5268
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
5269
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
5270
+ query_params[:id] = opts[:id] if opts[:id]
5271
+ query_params[:limit] = opts[:limit] if opts[:limit]
5272
+ query_params[:page] = opts[:page] if opts[:page]
5273
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
5274
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
5275
+
5276
+ # Header Params
5277
+ header_params = {}
5278
+ header_params[:accept] = 'application/json'
5279
+ header_params[:'content-type'] = 'application/json'
5280
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
5281
+ # rubocop:enable Style/NegatedIf
5282
+
5283
+ post_body = nil
5284
+
5285
+ # rubocop:disable Metrics/BlockLength
5286
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_security_recipes') do
5287
+ @api_client.call_api(
5288
+ :GET,
5289
+ path,
5290
+ endpoint,
5291
+ header_params: header_params,
5292
+ query_params: query_params,
5293
+ operation_signing_strategy: operation_signing_strategy,
5294
+ body: post_body,
5295
+ return_type: 'OCI::CloudGuard::Models::SecurityRecipeCollection'
5296
+ )
5297
+ end
5298
+ # rubocop:enable Metrics/BlockLength
5299
+ end
5300
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5301
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
5302
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5303
+
5304
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5305
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5306
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5307
+
5308
+
5309
+ # Gets a list of all security zones in a compartment.
5310
+ #
5311
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
5312
+ # @param [Hash] opts the optional parameters
5313
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5314
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5315
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
5316
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
5317
+ # @option opts [String] :id The unique identifier of the security zone (`SecurityZone`)
5318
+ # @option opts [String] :security_recipe_id The unique identifier of the security zone recipe (`SecurityRecipe`)
5319
+ # @option opts [BOOLEAN] :is_required_security_zones_in_subtree security zones in the subtree
5320
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
5321
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
5322
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
5323
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
5324
+ # (default to timeCreated)
5325
+ # Allowed values are: timeCreated, displayName
5326
+ # @option opts [String] :opc_request_id The client request ID for tracing.
5327
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityZoneCollection SecurityZoneCollection}
5328
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_security_zones.rb.html) to see an example of how to use list_security_zones API.
5329
+ def list_security_zones(compartment_id, opts = {})
5330
+ logger.debug 'Calling operation CloudGuardClient#list_security_zones.' if logger
5331
+
5332
+ raise "Missing the required parameter 'compartment_id' when calling list_security_zones." if compartment_id.nil?
5333
+
5334
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
5335
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
5336
+ end
5337
+
5338
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
5339
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
5340
+ end
5341
+
5342
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
5343
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5344
+ end
5345
+
5346
+ path = '/securityZones'
5347
+ operation_signing_strategy = :standard
5348
+
5349
+ # rubocop:disable Style/NegatedIf
5350
+ # Query Params
5351
+ query_params = {}
5352
+ query_params[:compartmentId] = compartment_id
5353
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
5354
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
5355
+ query_params[:id] = opts[:id] if opts[:id]
5356
+ query_params[:securityRecipeId] = opts[:security_recipe_id] if opts[:security_recipe_id]
5357
+ query_params[:isRequiredSecurityZonesInSubtree] = opts[:is_required_security_zones_in_subtree] if !opts[:is_required_security_zones_in_subtree].nil?
5358
+ query_params[:limit] = opts[:limit] if opts[:limit]
5359
+ query_params[:page] = opts[:page] if opts[:page]
5360
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
5361
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
5362
+
5363
+ # Header Params
5364
+ header_params = {}
5365
+ header_params[:accept] = 'application/json'
5366
+ header_params[:'content-type'] = 'application/json'
5367
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
5368
+ # rubocop:enable Style/NegatedIf
5369
+
5370
+ post_body = nil
5371
+
5372
+ # rubocop:disable Metrics/BlockLength
5373
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_security_zones') do
5374
+ @api_client.call_api(
5375
+ :GET,
5376
+ path,
5377
+ endpoint,
5378
+ header_params: header_params,
5379
+ query_params: query_params,
5380
+ operation_signing_strategy: operation_signing_strategy,
5381
+ body: post_body,
5382
+ return_type: 'OCI::CloudGuard::Models::SecurityZoneCollection'
5383
+ )
5384
+ end
5385
+ # rubocop:enable Metrics/BlockLength
5386
+ end
5387
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5388
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
5389
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5390
+
5391
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5392
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5393
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5394
+
3708
5395
 
3709
- if opts[:responder_execution_status] && !OCI::CloudGuard::Models::RESPONDER_EXECUTION_STATES_ENUM.include?(opts[:responder_execution_status])
3710
- raise 'Invalid value for "responder_execution_status", must be one of the values in OCI::CloudGuard::Models::RESPONDER_EXECUTION_STATES_ENUM.'
3711
- end
5396
+ # Returns Sighting endpoints details
5397
+ # @param [String] sighting_id OCID of the sighting.
5398
+ # @param [Hash] opts the optional parameters
5399
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5400
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5401
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
5402
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
5403
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
5404
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
5405
+ # (default to timeCreated)
5406
+ # Allowed values are: timeCreated
5407
+ # @option opts [String] :opc_request_id The client request ID for tracing.
5408
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SightingEndpointCollection SightingEndpointCollection}
5409
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_sighting_endpoints.rb.html) to see an example of how to use list_sighting_endpoints API.
5410
+ def list_sighting_endpoints(sighting_id, opts = {})
5411
+ logger.debug 'Calling operation CloudGuardClient#list_sighting_endpoints.' if logger
3712
5412
 
3713
- if opts[:responder_execution_mode] && !OCI::CloudGuard::Models::RESPONDER_EXECUTION_MODES_ENUM.include?(opts[:responder_execution_mode])
3714
- raise 'Invalid value for "responder_execution_mode", must be one of the values in OCI::CloudGuard::Models::RESPONDER_EXECUTION_MODES_ENUM.'
3715
- end
5413
+ raise "Missing the required parameter 'sighting_id' when calling list_sighting_endpoints." if sighting_id.nil?
3716
5414
 
3717
5415
  if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
3718
5416
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
3719
5417
  end
3720
5418
 
3721
- if opts[:sort_by] && !%w[timeCreated responderRuleName resourceName timeCompleted].include?(opts[:sort_by])
3722
- raise 'Invalid value for "sort_by", must be one of timeCreated, responderRuleName, resourceName, timeCompleted.'
5419
+ if opts[:sort_by] && !%w[timeCreated].include?(opts[:sort_by])
5420
+ raise 'Invalid value for "sort_by", must be one of timeCreated.'
3723
5421
  end
5422
+ raise "Parameter value for 'sighting_id' must not be blank" if OCI::Internal::Util.blank_string?(sighting_id)
3724
5423
 
3725
- path = '/responderExecutions'
5424
+ path = '/sightings/{sightingId}/endpoints'.sub('{sightingId}', sighting_id.to_s)
3726
5425
  operation_signing_strategy = :standard
3727
5426
 
3728
5427
  # rubocop:disable Style/NegatedIf
3729
5428
  # Query Params
3730
5429
  query_params = {}
3731
- query_params[:compartmentId] = compartment_id
3732
- query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
3733
- query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
3734
- query_params[:responderRuleIds] = OCI::ApiClient.build_collection_params(opts[:responder_rule_ids], :multi) if opts[:responder_rule_ids] && !opts[:responder_rule_ids].empty?
3735
- query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
3736
- query_params[:timeCreatedLessThanOrEqualTo] = opts[:time_created_less_than_or_equal_to] if opts[:time_created_less_than_or_equal_to]
3737
- query_params[:timeCompletedGreaterThanOrEqualTo] = opts[:time_completed_greater_than_or_equal_to] if opts[:time_completed_greater_than_or_equal_to]
3738
- query_params[:timeCompletedLessThanOrEqualTo] = opts[:time_completed_less_than_or_equal_to] if opts[:time_completed_less_than_or_equal_to]
3739
- query_params[:targetId] = opts[:target_id] if opts[:target_id]
3740
- query_params[:resourceType] = opts[:resource_type] if opts[:resource_type]
3741
- query_params[:responderType] = opts[:responder_type] if opts[:responder_type]
3742
- query_params[:responderExecutionStatus] = opts[:responder_execution_status] if opts[:responder_execution_status]
3743
- query_params[:responderExecutionMode] = opts[:responder_execution_mode] if opts[:responder_execution_mode]
3744
5430
  query_params[:limit] = opts[:limit] if opts[:limit]
3745
5431
  query_params[:page] = opts[:page] if opts[:page]
3746
5432
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
@@ -3756,7 +5442,7 @@ module OCI
3756
5442
  post_body = nil
3757
5443
 
3758
5444
  # rubocop:disable Metrics/BlockLength
3759
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_executions') do
5445
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_sighting_endpoints') do
3760
5446
  @api_client.call_api(
3761
5447
  :GET,
3762
5448
  path,
@@ -3765,7 +5451,7 @@ module OCI
3765
5451
  query_params: query_params,
3766
5452
  operation_signing_strategy: operation_signing_strategy,
3767
5453
  body: post_body,
3768
- return_type: 'OCI::CloudGuard::Models::ResponderExecutionCollection'
5454
+ return_type: 'OCI::CloudGuard::Models::SightingEndpointCollection'
3769
5455
  )
3770
5456
  end
3771
5457
  # rubocop:enable Metrics/BlockLength
@@ -3779,52 +5465,40 @@ module OCI
3779
5465
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3780
5466
 
3781
5467
 
3782
- # Returns a list of ResponderRule associated with ResponderRecipe.
3783
- #
3784
- # @param [String] responder_recipe_id OCID of ResponderRecipe
3785
- # @param [String] compartment_id The ID of the compartment in which to list resources.
5468
+ # Return a list of Impacted Resources for a CloudGuard Sighting
5469
+ # @param [String] sighting_id OCID of the sighting.
3786
5470
  # @param [Hash] opts the optional parameters
3787
5471
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3788
5472
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3789
- # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
3790
- # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
3791
5473
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3792
5474
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3793
5475
  # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3794
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
3795
- # (default to displayName)
3796
- # Allowed values are: displayName, riskLevel
5476
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
5477
+ # (default to timeCreated)
5478
+ # Allowed values are: timeCreated
3797
5479
  # @option opts [String] :opc_request_id The client request ID for tracing.
3798
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRecipeResponderRuleCollection ResponderRecipeResponderRuleCollection}
3799
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_recipe_responder_rules.rb.html) to see an example of how to use list_responder_recipe_responder_rules API.
3800
- def list_responder_recipe_responder_rules(responder_recipe_id, compartment_id, opts = {})
3801
- logger.debug 'Calling operation CloudGuardClient#list_responder_recipe_responder_rules.' if logger
3802
-
3803
- raise "Missing the required parameter 'responder_recipe_id' when calling list_responder_recipe_responder_rules." if responder_recipe_id.nil?
3804
- raise "Missing the required parameter 'compartment_id' when calling list_responder_recipe_responder_rules." if compartment_id.nil?
5480
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SightingImpactedResourceCollection SightingImpactedResourceCollection}
5481
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_sighting_impacted_resources.rb.html) to see an example of how to use list_sighting_impacted_resources API.
5482
+ def list_sighting_impacted_resources(sighting_id, opts = {})
5483
+ logger.debug 'Calling operation CloudGuardClient#list_sighting_impacted_resources.' if logger
3805
5484
 
3806
- if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
3807
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
3808
- end
5485
+ raise "Missing the required parameter 'sighting_id' when calling list_sighting_impacted_resources." if sighting_id.nil?
3809
5486
 
3810
5487
  if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
3811
5488
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
3812
5489
  end
3813
5490
 
3814
- if opts[:sort_by] && !%w[displayName riskLevel].include?(opts[:sort_by])
3815
- raise 'Invalid value for "sort_by", must be one of displayName, riskLevel.'
5491
+ if opts[:sort_by] && !%w[timeCreated].include?(opts[:sort_by])
5492
+ raise 'Invalid value for "sort_by", must be one of timeCreated.'
3816
5493
  end
3817
- raise "Parameter value for 'responder_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(responder_recipe_id)
5494
+ raise "Parameter value for 'sighting_id' must not be blank" if OCI::Internal::Util.blank_string?(sighting_id)
3818
5495
 
3819
- path = '/responderRecipes/{responderRecipeId}/responderRules'.sub('{responderRecipeId}', responder_recipe_id.to_s)
5496
+ path = '/sightings/{sightingId}/impactedResources'.sub('{sightingId}', sighting_id.to_s)
3820
5497
  operation_signing_strategy = :standard
3821
5498
 
3822
5499
  # rubocop:disable Style/NegatedIf
3823
5500
  # Query Params
3824
5501
  query_params = {}
3825
- query_params[:compartmentId] = compartment_id
3826
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
3827
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
3828
5502
  query_params[:limit] = opts[:limit] if opts[:limit]
3829
5503
  query_params[:page] = opts[:page] if opts[:page]
3830
5504
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
@@ -3840,7 +5514,7 @@ module OCI
3840
5514
  post_body = nil
3841
5515
 
3842
5516
  # rubocop:disable Metrics/BlockLength
3843
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_recipe_responder_rules') do
5517
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_sighting_impacted_resources') do
3844
5518
  @api_client.call_api(
3845
5519
  :GET,
3846
5520
  path,
@@ -3849,7 +5523,7 @@ module OCI
3849
5523
  query_params: query_params,
3850
5524
  operation_signing_strategy: operation_signing_strategy,
3851
5525
  body: post_body,
3852
- return_type: 'OCI::CloudGuard::Models::ResponderRecipeResponderRuleCollection'
5526
+ return_type: 'OCI::CloudGuard::Models::SightingImpactedResourceCollection'
3853
5527
  )
3854
5528
  end
3855
5529
  # rubocop:enable Metrics/BlockLength
@@ -3863,9 +5537,8 @@ module OCI
3863
5537
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3864
5538
 
3865
5539
 
3866
- # Returns a list of all ResponderRecipes in a compartment
3867
- # The ListResponderRecipe operation returns only the targets in `compartmentId` passed.
3868
- # The list does not include any subcompartments of the compartmentId passed.
5540
+ # Returns a list of all Sightings identified by the Cloud Guard
5541
+ # The ListSightings operation returns only sightings that match the passed filters.
3869
5542
  #
3870
5543
  # The parameter `accessLevel` specifies whether to return only those compartments for which the
3871
5544
  # requestor has INSPECT permissions on at least one resource directly
@@ -3873,7 +5546,7 @@ module OCI
3873
5546
  # Principal doesn't have access to even one of the child compartments. This is valid only when
3874
5547
  # `compartmentIdInSubtree` is set to `true`.
3875
5548
  #
3876
- # The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the
5549
+ # The parameter `compartmentIdInSubtree` applies when you perform ListSightings on the
3877
5550
  # `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
3878
5551
  # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
3879
5552
  # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
@@ -3882,14 +5555,8 @@ module OCI
3882
5555
  # @param [Hash] opts the optional parameters
3883
5556
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3884
5557
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3885
- # @option opts [BOOLEAN] :resource_metadata_only Default is false.
3886
- # When set to true, the list of all Oracle Managed Resources
3887
- # Metadata supported by Cloud Guard are returned.
3888
- # (default to false)
3889
- # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
3890
- # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
3891
- # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3892
- # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
5558
+ # @option opts [String] :problem_id OCID of the problem.
5559
+ # @option opts [String] :resource_profile_id OCID of the resource profile.
3893
5560
  # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
3894
5561
  # When set to true, the hierarchy of compartments is traversed
3895
5562
  # and all compartments and subcompartments in the tenancy are
@@ -3902,21 +5569,21 @@ module OCI
3902
5569
  # When set to `RESTRICTED` permissions are checked and no partial results are displayed.
3903
5570
  # (default to RESTRICTED)
3904
5571
  # Allowed values are: RESTRICTED, ACCESSIBLE
5572
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
5573
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3905
5574
  # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3906
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
5575
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
3907
5576
  # (default to timeCreated)
3908
- # Allowed values are: timeCreated, displayName
5577
+ # Allowed values are: timeCreated
5578
+ # @option opts [DateTime] :time_last_detected_greater_than_or_equal_to Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
5579
+ # @option opts [DateTime] :time_last_detected_less_than_or_equal_to End time for a filter. If end time is not specified, end time will be set to current time.
3909
5580
  # @option opts [String] :opc_request_id The client request ID for tracing.
3910
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRecipeCollection ResponderRecipeCollection}
3911
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_recipes.rb.html) to see an example of how to use list_responder_recipes API.
3912
- def list_responder_recipes(compartment_id, opts = {})
3913
- logger.debug 'Calling operation CloudGuardClient#list_responder_recipes.' if logger
3914
-
3915
- raise "Missing the required parameter 'compartment_id' when calling list_responder_recipes." if compartment_id.nil?
5581
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SightingCollection SightingCollection}
5582
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_sightings.rb.html) to see an example of how to use list_sightings API.
5583
+ def list_sightings(compartment_id, opts = {})
5584
+ logger.debug 'Calling operation CloudGuardClient#list_sightings.' if logger
3916
5585
 
3917
- if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
3918
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
3919
- end
5586
+ raise "Missing the required parameter 'compartment_id' when calling list_sightings." if compartment_id.nil?
3920
5587
 
3921
5588
  if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
3922
5589
  raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
@@ -3926,26 +5593,27 @@ module OCI
3926
5593
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
3927
5594
  end
3928
5595
 
3929
- if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
3930
- raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5596
+ if opts[:sort_by] && !%w[timeCreated].include?(opts[:sort_by])
5597
+ raise 'Invalid value for "sort_by", must be one of timeCreated.'
3931
5598
  end
3932
5599
 
3933
- path = '/responderRecipes'
5600
+ path = '/sightings'
3934
5601
  operation_signing_strategy = :standard
3935
5602
 
3936
5603
  # rubocop:disable Style/NegatedIf
3937
5604
  # Query Params
3938
5605
  query_params = {}
3939
5606
  query_params[:compartmentId] = compartment_id
3940
- query_params[:resourceMetadataOnly] = opts[:resource_metadata_only] if !opts[:resource_metadata_only].nil?
3941
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
3942
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
3943
- query_params[:limit] = opts[:limit] if opts[:limit]
3944
- query_params[:page] = opts[:page] if opts[:page]
5607
+ query_params[:problemId] = opts[:problem_id] if opts[:problem_id]
5608
+ query_params[:resourceProfileId] = opts[:resource_profile_id] if opts[:resource_profile_id]
3945
5609
  query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
3946
5610
  query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
5611
+ query_params[:limit] = opts[:limit] if opts[:limit]
5612
+ query_params[:page] = opts[:page] if opts[:page]
3947
5613
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3948
5614
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
5615
+ query_params[:timeLastDetectedGreaterThanOrEqualTo] = opts[:time_last_detected_greater_than_or_equal_to] if opts[:time_last_detected_greater_than_or_equal_to]
5616
+ query_params[:timeLastDetectedLessThanOrEqualTo] = opts[:time_last_detected_less_than_or_equal_to] if opts[:time_last_detected_less_than_or_equal_to]
3949
5617
 
3950
5618
  # Header Params
3951
5619
  header_params = {}
@@ -3957,7 +5625,7 @@ module OCI
3957
5625
  post_body = nil
3958
5626
 
3959
5627
  # rubocop:disable Metrics/BlockLength
3960
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_recipes') do
5628
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_sightings') do
3961
5629
  @api_client.call_api(
3962
5630
  :GET,
3963
5631
  path,
@@ -3966,7 +5634,7 @@ module OCI
3966
5634
  query_params: query_params,
3967
5635
  operation_signing_strategy: operation_signing_strategy,
3968
5636
  body: post_body,
3969
- return_type: 'OCI::CloudGuard::Models::ResponderRecipeCollection'
5637
+ return_type: 'OCI::CloudGuard::Models::SightingCollection'
3970
5638
  )
3971
5639
  end
3972
5640
  # rubocop:enable Metrics/BlockLength
@@ -3980,27 +5648,26 @@ module OCI
3980
5648
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3981
5649
 
3982
5650
 
3983
- # Returns a list of ResponderRule.
5651
+ # Returns a list of tactics associated with detector rules.
3984
5652
  #
3985
5653
  # @param [String] compartment_id The ID of the compartment in which to list resources.
3986
5654
  # @param [Hash] opts the optional parameters
3987
5655
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3988
5656
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3989
- # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
3990
5657
  # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
3991
5658
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3992
5659
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3993
5660
  # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
3994
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
3995
- # (default to timeCreated)
3996
- # Allowed values are: timeCreated, displayName
5661
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
5662
+ # (default to displayName)
5663
+ # Allowed values are: displayName
3997
5664
  # @option opts [String] :opc_request_id The client request ID for tracing.
3998
- # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResponderRuleCollection ResponderRuleCollection}
3999
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_responder_rules.rb.html) to see an example of how to use list_responder_rules API.
4000
- def list_responder_rules(compartment_id, opts = {})
4001
- logger.debug 'Calling operation CloudGuardClient#list_responder_rules.' if logger
5665
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::TacticCollection TacticCollection}
5666
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_tactics.rb.html) to see an example of how to use list_tactics API.
5667
+ def list_tactics(compartment_id, opts = {})
5668
+ logger.debug 'Calling operation CloudGuardClient#list_tactics.' if logger
4002
5669
 
4003
- raise "Missing the required parameter 'compartment_id' when calling list_responder_rules." if compartment_id.nil?
5670
+ raise "Missing the required parameter 'compartment_id' when calling list_tactics." if compartment_id.nil?
4004
5671
 
4005
5672
  if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
4006
5673
  raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
@@ -4010,18 +5677,17 @@ module OCI
4010
5677
  raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
4011
5678
  end
4012
5679
 
4013
- if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
4014
- raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
5680
+ if opts[:sort_by] && !%w[displayName].include?(opts[:sort_by])
5681
+ raise 'Invalid value for "sort_by", must be one of displayName.'
4015
5682
  end
4016
5683
 
4017
- path = '/responderRules'
5684
+ path = '/tactics'
4018
5685
  operation_signing_strategy = :standard
4019
5686
 
4020
5687
  # rubocop:disable Style/NegatedIf
4021
5688
  # Query Params
4022
5689
  query_params = {}
4023
5690
  query_params[:compartmentId] = compartment_id
4024
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
4025
5691
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
4026
5692
  query_params[:limit] = opts[:limit] if opts[:limit]
4027
5693
  query_params[:page] = opts[:page] if opts[:page]
@@ -4038,7 +5704,7 @@ module OCI
4038
5704
  post_body = nil
4039
5705
 
4040
5706
  # rubocop:disable Metrics/BlockLength
4041
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_responder_rules') do
5707
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_tactics') do
4042
5708
  @api_client.call_api(
4043
5709
  :GET,
4044
5710
  path,
@@ -4047,7 +5713,7 @@ module OCI
4047
5713
  query_params: query_params,
4048
5714
  operation_signing_strategy: operation_signing_strategy,
4049
5715
  body: post_body,
4050
- return_type: 'OCI::CloudGuard::Models::ResponderRuleCollection'
5716
+ return_type: 'OCI::CloudGuard::Models::TacticCollection'
4051
5717
  )
4052
5718
  end
4053
5719
  # rubocop:enable Metrics/BlockLength
@@ -4421,6 +6087,10 @@ module OCI
4421
6087
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4422
6088
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4423
6089
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
6090
+ # @option opts [BOOLEAN] :is_non_security_zone_targets_only_query Default is false.
6091
+ # When set to true, only the targets that would be deleted as part of
6092
+ # security zone creation will be returned.
6093
+ # (default to false)
4424
6094
  # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
4425
6095
  # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
4426
6096
  # When set to true, the hierarchy of compartments is traversed
@@ -4472,6 +6142,7 @@ module OCI
4472
6142
  query_params = {}
4473
6143
  query_params[:compartmentId] = compartment_id
4474
6144
  query_params[:displayName] = opts[:display_name] if opts[:display_name]
6145
+ query_params[:isNonSecurityZoneTargetsOnlyQuery] = opts[:is_non_security_zone_targets_only_query] if !opts[:is_non_security_zone_targets_only_query].nil?
4475
6146
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
4476
6147
  query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
4477
6148
  query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
@@ -4487,19 +6158,171 @@ module OCI
4487
6158
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4488
6159
  # rubocop:enable Style/NegatedIf
4489
6160
 
4490
- post_body = nil
6161
+ post_body = nil
6162
+
6163
+ # rubocop:disable Metrics/BlockLength
6164
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_targets') do
6165
+ @api_client.call_api(
6166
+ :GET,
6167
+ path,
6168
+ endpoint,
6169
+ header_params: header_params,
6170
+ query_params: query_params,
6171
+ operation_signing_strategy: operation_signing_strategy,
6172
+ body: post_body,
6173
+ return_type: 'OCI::CloudGuard::Models::TargetCollection'
6174
+ )
6175
+ end
6176
+ # rubocop:enable Metrics/BlockLength
6177
+ end
6178
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6179
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
6180
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
6181
+
6182
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6183
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
6184
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6185
+
6186
+
6187
+ # Returns a list of techniques associated with detector rules.
6188
+ #
6189
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
6190
+ # @param [Hash] opts the optional parameters
6191
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6192
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6193
+ # @option opts [Array<String>] :tactics A filter to return only resources that match the list of tactics given. (default to [])
6194
+ # @option opts [String] :lifecycle_state The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. (default to ACTIVE)
6195
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
6196
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
6197
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
6198
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
6199
+ # (default to displayName)
6200
+ # Allowed values are: displayName
6201
+ # @option opts [String] :opc_request_id The client request ID for tracing.
6202
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::TechniqueCollection TechniqueCollection}
6203
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/list_techniques.rb.html) to see an example of how to use list_techniques API.
6204
+ def list_techniques(compartment_id, opts = {})
6205
+ logger.debug 'Calling operation CloudGuardClient#list_techniques.' if logger
6206
+
6207
+ raise "Missing the required parameter 'compartment_id' when calling list_techniques." if compartment_id.nil?
6208
+
6209
+ if opts[:lifecycle_state] && !OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
6210
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::CloudGuard::Models::LIFECYCLE_STATE_ENUM.'
6211
+ end
6212
+
6213
+ if opts[:sort_order] && !OCI::CloudGuard::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
6214
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::CloudGuard::Models::SORT_ORDERS_ENUM.'
6215
+ end
6216
+
6217
+ if opts[:sort_by] && !%w[displayName].include?(opts[:sort_by])
6218
+ raise 'Invalid value for "sort_by", must be one of displayName.'
6219
+ end
6220
+
6221
+ path = '/techniques'
6222
+ operation_signing_strategy = :standard
6223
+
6224
+ # rubocop:disable Style/NegatedIf
6225
+ # Query Params
6226
+ query_params = {}
6227
+ query_params[:compartmentId] = compartment_id
6228
+ query_params[:tactics] = OCI::ApiClient.build_collection_params(opts[:tactics], :multi) if opts[:tactics] && !opts[:tactics].empty?
6229
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
6230
+ query_params[:limit] = opts[:limit] if opts[:limit]
6231
+ query_params[:page] = opts[:page] if opts[:page]
6232
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
6233
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
6234
+
6235
+ # Header Params
6236
+ header_params = {}
6237
+ header_params[:accept] = 'application/json'
6238
+ header_params[:'content-type'] = 'application/json'
6239
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
6240
+ # rubocop:enable Style/NegatedIf
6241
+
6242
+ post_body = nil
6243
+
6244
+ # rubocop:disable Metrics/BlockLength
6245
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_techniques') do
6246
+ @api_client.call_api(
6247
+ :GET,
6248
+ path,
6249
+ endpoint,
6250
+ header_params: header_params,
6251
+ query_params: query_params,
6252
+ operation_signing_strategy: operation_signing_strategy,
6253
+ body: post_body,
6254
+ return_type: 'OCI::CloudGuard::Models::TechniqueCollection'
6255
+ )
6256
+ end
6257
+ # rubocop:enable Metrics/BlockLength
6258
+ end
6259
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6260
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
6261
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
6262
+
6263
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6264
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
6265
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6266
+
6267
+
6268
+ # Removes an existing compartment from a security zone. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can't remove the primary compartment that was used to create the security zone.
6269
+ # @param [String] security_zone_id The unique identifier of the security zone (`SecurityZone`)
6270
+ # @param [OCI::CloudGuard::Models::RemoveCompartmentDetails] remove_compartment_details The compartment to remove from the security zone.
6271
+ # @param [Hash] opts the optional parameters
6272
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6273
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6274
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
6275
+ # server error without risk of executing that same action again. Retry tokens expire after 24
6276
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
6277
+ # has been deleted and purged from the system, then a retry of the original creation request
6278
+ # might be rejected.
6279
+ #
6280
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
6281
+ # for a resource, set the `if-match` parameter to the value of the
6282
+ # etag from a previous GET or POST response for that resource.
6283
+ # The resource will be updated or deleted only if the etag you
6284
+ # provide matches the resource's current etag value.
6285
+ #
6286
+ # @option opts [String] :opc_request_id The client request ID for tracing.
6287
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityZone SecurityZone}
6288
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/remove_compartment.rb.html) to see an example of how to use remove_compartment API.
6289
+ def remove_compartment(security_zone_id, remove_compartment_details, opts = {})
6290
+ logger.debug 'Calling operation CloudGuardClient#remove_compartment.' if logger
6291
+
6292
+ raise "Missing the required parameter 'security_zone_id' when calling remove_compartment." if security_zone_id.nil?
6293
+ raise "Missing the required parameter 'remove_compartment_details' when calling remove_compartment." if remove_compartment_details.nil?
6294
+ raise "Parameter value for 'security_zone_id' must not be blank" if OCI::Internal::Util.blank_string?(security_zone_id)
6295
+
6296
+ path = '/securityZones/{securityZoneId}/actions/removeCompartment'.sub('{securityZoneId}', security_zone_id.to_s)
6297
+ operation_signing_strategy = :standard
6298
+
6299
+ # rubocop:disable Style/NegatedIf
6300
+ # Query Params
6301
+ query_params = {}
6302
+
6303
+ # Header Params
6304
+ header_params = {}
6305
+ header_params[:accept] = 'application/json'
6306
+ header_params[:'content-type'] = 'application/json'
6307
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
6308
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
6309
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
6310
+ # rubocop:enable Style/NegatedIf
6311
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
6312
+
6313
+ post_body = @api_client.object_to_http_body(remove_compartment_details)
4491
6314
 
4492
6315
  # rubocop:disable Metrics/BlockLength
4493
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#list_targets') do
6316
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#remove_compartment') do
4494
6317
  @api_client.call_api(
4495
- :GET,
6318
+ :POST,
4496
6319
  path,
4497
6320
  endpoint,
4498
6321
  header_params: header_params,
4499
6322
  query_params: query_params,
4500
6323
  operation_signing_strategy: operation_signing_strategy,
4501
6324
  body: post_body,
4502
- return_type: 'OCI::CloudGuard::Models::TargetCollection'
6325
+ return_type: 'OCI::CloudGuard::Models::SecurityZone'
4503
6326
  )
4504
6327
  end
4505
6328
  # rubocop:enable Metrics/BlockLength
@@ -5137,6 +6960,97 @@ module OCI
5137
6960
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5138
6961
 
5139
6962
 
6963
+ # Summarizes the resource profile risk score top trends for the given time range based on the search filters.
6964
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
6965
+ # @param [Hash] opts the optional parameters
6966
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6967
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6968
+ # @option opts [DateTime] :time_score_computed_greater_than_or_equal_to Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
6969
+ # @option opts [DateTime] :time_score_computed_less_than_or_equal_to End time for a filter. If end time is not specified, end time will be set to today's current time.
6970
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
6971
+ # When set to true, the hierarchy of compartments is traversed
6972
+ # and all compartments and subcompartments in the tenancy are
6973
+ # returned depending on the the setting of `accessLevel`.
6974
+ # (default to false)
6975
+ # @option opts [String] :sort_by The field to sort trendlines for resource profiles. Only one sort order may be provided. If no value is specified riskScore is default.
6976
+ # (default to riskScore)
6977
+ # Allowed values are: riskScore, riskScoreGrowth, timeFirstDetected, timeLastDetected
6978
+ # @option opts [Integer] :count Number of resource profile risk score trend-lines to be displayed. Default value is 10.
6979
+ # (default to 10)
6980
+ # @option opts [String] :access_level Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
6981
+ # Setting this to `ACCESSIBLE` returns only those compartments for which the
6982
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
6983
+ # resource in a subcompartment).
6984
+ # When set to `RESTRICTED` permissions are checked and no partial results are displayed.
6985
+ # (default to RESTRICTED)
6986
+ # Allowed values are: RESTRICTED, ACCESSIBLE
6987
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
6988
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
6989
+ # @option opts [String] :opc_request_id The client request ID for tracing.
6990
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceProfileRiskScoreAggregationSummaryCollection ResourceProfileRiskScoreAggregationSummaryCollection}
6991
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/request_summarized_top_trend_resource_profile_risk_scores.rb.html) to see an example of how to use request_summarized_top_trend_resource_profile_risk_scores API.
6992
+ def request_summarized_top_trend_resource_profile_risk_scores(compartment_id, opts = {})
6993
+ logger.debug 'Calling operation CloudGuardClient#request_summarized_top_trend_resource_profile_risk_scores.' if logger
6994
+
6995
+ raise "Missing the required parameter 'compartment_id' when calling request_summarized_top_trend_resource_profile_risk_scores." if compartment_id.nil?
6996
+
6997
+ if opts[:sort_by] && !%w[riskScore riskScoreGrowth timeFirstDetected timeLastDetected].include?(opts[:sort_by])
6998
+ raise 'Invalid value for "sort_by", must be one of riskScore, riskScoreGrowth, timeFirstDetected, timeLastDetected.'
6999
+ end
7000
+
7001
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
7002
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
7003
+ end
7004
+
7005
+ path = '/resourceProfileRiskScores/actions/summarizeTopTrends'
7006
+ operation_signing_strategy = :standard
7007
+
7008
+ # rubocop:disable Style/NegatedIf
7009
+ # Query Params
7010
+ query_params = {}
7011
+ query_params[:compartmentId] = compartment_id
7012
+ query_params[:timeScoreComputedGreaterThanOrEqualTo] = opts[:time_score_computed_greater_than_or_equal_to] if opts[:time_score_computed_greater_than_or_equal_to]
7013
+ query_params[:timeScoreComputedLessThanOrEqualTo] = opts[:time_score_computed_less_than_or_equal_to] if opts[:time_score_computed_less_than_or_equal_to]
7014
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
7015
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
7016
+ query_params[:count] = opts[:count] if opts[:count]
7017
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
7018
+ query_params[:limit] = opts[:limit] if opts[:limit]
7019
+ query_params[:page] = opts[:page] if opts[:page]
7020
+
7021
+ # Header Params
7022
+ header_params = {}
7023
+ header_params[:accept] = 'application/json'
7024
+ header_params[:'content-type'] = 'application/json'
7025
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
7026
+ # rubocop:enable Style/NegatedIf
7027
+
7028
+ post_body = nil
7029
+
7030
+ # rubocop:disable Metrics/BlockLength
7031
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#request_summarized_top_trend_resource_profile_risk_scores') do
7032
+ @api_client.call_api(
7033
+ :POST,
7034
+ path,
7035
+ endpoint,
7036
+ header_params: header_params,
7037
+ query_params: query_params,
7038
+ operation_signing_strategy: operation_signing_strategy,
7039
+ body: post_body,
7040
+ return_type: 'OCI::CloudGuard::Models::ResourceProfileRiskScoreAggregationSummaryCollection'
7041
+ )
7042
+ end
7043
+ # rubocop:enable Metrics/BlockLength
7044
+ end
7045
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
7046
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
7047
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
7048
+
7049
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
7050
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
7051
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
7052
+
7053
+
5140
7054
  # Returns the number of problems identified by cloud guard, for a given time period.
5141
7055
  #
5142
7056
  # The parameter `accessLevel` specifies whether to return only those compartments for which the
@@ -5229,6 +7143,88 @@ module OCI
5229
7143
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5230
7144
 
5231
7145
 
7146
+ # Summarizes the resource risk score trend for the given time range based on the search filters.
7147
+ # @param [OCI::CloudGuard::Models::RequestSummarizedTrendResourceRiskScoresDetails] request_summarized_trend_resource_risk_scores_details The filter to fetch risk score trend.
7148
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
7149
+ # @param [Hash] opts the optional parameters
7150
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
7151
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
7152
+ # @option opts [DateTime] :time_score_computed_greater_than_or_equal_to Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
7153
+ # @option opts [DateTime] :time_score_computed_less_than_or_equal_to End time for a filter. If end time is not specified, end time will be set to today's current time.
7154
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
7155
+ # When set to true, the hierarchy of compartments is traversed
7156
+ # and all compartments and subcompartments in the tenancy are
7157
+ # returned depending on the the setting of `accessLevel`.
7158
+ # (default to false)
7159
+ # @option opts [String] :access_level Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
7160
+ # Setting this to `ACCESSIBLE` returns only those compartments for which the
7161
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
7162
+ # resource in a subcompartment).
7163
+ # When set to `RESTRICTED` permissions are checked and no partial results are displayed.
7164
+ # (default to RESTRICTED)
7165
+ # Allowed values are: RESTRICTED, ACCESSIBLE
7166
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
7167
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
7168
+ # @option opts [String] :opc_request_id The client request ID for tracing.
7169
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::ResourceRiskScoreAggregationCollection ResourceRiskScoreAggregationCollection}
7170
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/request_summarized_trend_resource_risk_scores.rb.html) to see an example of how to use request_summarized_trend_resource_risk_scores API.
7171
+ def request_summarized_trend_resource_risk_scores(request_summarized_trend_resource_risk_scores_details, compartment_id, opts = {})
7172
+ logger.debug 'Calling operation CloudGuardClient#request_summarized_trend_resource_risk_scores.' if logger
7173
+
7174
+ raise "Missing the required parameter 'request_summarized_trend_resource_risk_scores_details' when calling request_summarized_trend_resource_risk_scores." if request_summarized_trend_resource_risk_scores_details.nil?
7175
+ raise "Missing the required parameter 'compartment_id' when calling request_summarized_trend_resource_risk_scores." if compartment_id.nil?
7176
+
7177
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
7178
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
7179
+ end
7180
+
7181
+ path = '/resourceRiskScores/actions/summarizeTrend'
7182
+ operation_signing_strategy = :standard
7183
+
7184
+ # rubocop:disable Style/NegatedIf
7185
+ # Query Params
7186
+ query_params = {}
7187
+ query_params[:compartmentId] = compartment_id
7188
+ query_params[:timeScoreComputedGreaterThanOrEqualTo] = opts[:time_score_computed_greater_than_or_equal_to] if opts[:time_score_computed_greater_than_or_equal_to]
7189
+ query_params[:timeScoreComputedLessThanOrEqualTo] = opts[:time_score_computed_less_than_or_equal_to] if opts[:time_score_computed_less_than_or_equal_to]
7190
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
7191
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
7192
+ query_params[:limit] = opts[:limit] if opts[:limit]
7193
+ query_params[:page] = opts[:page] if opts[:page]
7194
+
7195
+ # Header Params
7196
+ header_params = {}
7197
+ header_params[:accept] = 'application/json'
7198
+ header_params[:'content-type'] = 'application/json'
7199
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
7200
+ # rubocop:enable Style/NegatedIf
7201
+
7202
+ post_body = @api_client.object_to_http_body(request_summarized_trend_resource_risk_scores_details)
7203
+
7204
+ # rubocop:disable Metrics/BlockLength
7205
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#request_summarized_trend_resource_risk_scores') do
7206
+ @api_client.call_api(
7207
+ :POST,
7208
+ path,
7209
+ endpoint,
7210
+ header_params: header_params,
7211
+ query_params: query_params,
7212
+ operation_signing_strategy: operation_signing_strategy,
7213
+ body: post_body,
7214
+ return_type: 'OCI::CloudGuard::Models::ResourceRiskScoreAggregationCollection'
7215
+ )
7216
+ end
7217
+ # rubocop:enable Metrics/BlockLength
7218
+ end
7219
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
7220
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
7221
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
7222
+
7223
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
7224
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
7225
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
7226
+
7227
+
5232
7228
  # Returns the number of remediations performed by Responders, for a given time period.
5233
7229
  #
5234
7230
  # The parameter `accessLevel` specifies whether to return only those compartments for which the
@@ -6178,6 +8174,132 @@ module OCI
6178
8174
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6179
8175
 
6180
8176
 
8177
+ # Updates a security zone recipe. A security zone recipe is a collection of security zone policies.
8178
+ # @param [String] security_recipe_id The unique identifier of the security zone recipe (`SecurityRecipe`)
8179
+ # @param [OCI::CloudGuard::Models::UpdateSecurityRecipeDetails] update_security_recipe_details The information to be updated in the security zone recipe.
8180
+ # @param [Hash] opts the optional parameters
8181
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
8182
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
8183
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
8184
+ # for a resource, set the `if-match` parameter to the value of the
8185
+ # etag from a previous GET or POST response for that resource.
8186
+ # The resource will be updated or deleted only if the etag you
8187
+ # provide matches the resource's current etag value.
8188
+ #
8189
+ # @option opts [String] :opc_request_id The client request ID for tracing.
8190
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityRecipe SecurityRecipe}
8191
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/update_security_recipe.rb.html) to see an example of how to use update_security_recipe API.
8192
+ def update_security_recipe(security_recipe_id, update_security_recipe_details, opts = {})
8193
+ logger.debug 'Calling operation CloudGuardClient#update_security_recipe.' if logger
8194
+
8195
+ raise "Missing the required parameter 'security_recipe_id' when calling update_security_recipe." if security_recipe_id.nil?
8196
+ raise "Missing the required parameter 'update_security_recipe_details' when calling update_security_recipe." if update_security_recipe_details.nil?
8197
+ raise "Parameter value for 'security_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(security_recipe_id)
8198
+
8199
+ path = '/securityRecipes/{securityRecipeId}'.sub('{securityRecipeId}', security_recipe_id.to_s)
8200
+ operation_signing_strategy = :standard
8201
+
8202
+ # rubocop:disable Style/NegatedIf
8203
+ # Query Params
8204
+ query_params = {}
8205
+
8206
+ # Header Params
8207
+ header_params = {}
8208
+ header_params[:accept] = 'application/json'
8209
+ header_params[:'content-type'] = 'application/json'
8210
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
8211
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
8212
+ # rubocop:enable Style/NegatedIf
8213
+
8214
+ post_body = @api_client.object_to_http_body(update_security_recipe_details)
8215
+
8216
+ # rubocop:disable Metrics/BlockLength
8217
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#update_security_recipe') do
8218
+ @api_client.call_api(
8219
+ :PUT,
8220
+ path,
8221
+ endpoint,
8222
+ header_params: header_params,
8223
+ query_params: query_params,
8224
+ operation_signing_strategy: operation_signing_strategy,
8225
+ body: post_body,
8226
+ return_type: 'OCI::CloudGuard::Models::SecurityRecipe'
8227
+ )
8228
+ end
8229
+ # rubocop:enable Metrics/BlockLength
8230
+ end
8231
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
8232
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
8233
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
8234
+
8235
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
8236
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
8237
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
8238
+
8239
+
8240
+ # Updates the security zone identified by its id
8241
+ # @param [String] security_zone_id The unique identifier of the security zone (`SecurityZone`)
8242
+ # @param [OCI::CloudGuard::Models::UpdateSecurityZoneDetails] update_security_zone_details The security zone information to be updated.
8243
+ # @param [Hash] opts the optional parameters
8244
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
8245
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
8246
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
8247
+ # for a resource, set the `if-match` parameter to the value of the
8248
+ # etag from a previous GET or POST response for that resource.
8249
+ # The resource will be updated or deleted only if the etag you
8250
+ # provide matches the resource's current etag value.
8251
+ #
8252
+ # @option opts [String] :opc_request_id The client request ID for tracing.
8253
+ # @return [Response] A Response object with data of type {OCI::CloudGuard::Models::SecurityZone SecurityZone}
8254
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cloudguard/update_security_zone.rb.html) to see an example of how to use update_security_zone API.
8255
+ def update_security_zone(security_zone_id, update_security_zone_details, opts = {})
8256
+ logger.debug 'Calling operation CloudGuardClient#update_security_zone.' if logger
8257
+
8258
+ raise "Missing the required parameter 'security_zone_id' when calling update_security_zone." if security_zone_id.nil?
8259
+ raise "Missing the required parameter 'update_security_zone_details' when calling update_security_zone." if update_security_zone_details.nil?
8260
+ raise "Parameter value for 'security_zone_id' must not be blank" if OCI::Internal::Util.blank_string?(security_zone_id)
8261
+
8262
+ path = '/securityZones/{securityZoneId}'.sub('{securityZoneId}', security_zone_id.to_s)
8263
+ operation_signing_strategy = :standard
8264
+
8265
+ # rubocop:disable Style/NegatedIf
8266
+ # Query Params
8267
+ query_params = {}
8268
+
8269
+ # Header Params
8270
+ header_params = {}
8271
+ header_params[:accept] = 'application/json'
8272
+ header_params[:'content-type'] = 'application/json'
8273
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
8274
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
8275
+ # rubocop:enable Style/NegatedIf
8276
+
8277
+ post_body = @api_client.object_to_http_body(update_security_zone_details)
8278
+
8279
+ # rubocop:disable Metrics/BlockLength
8280
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'CloudGuardClient#update_security_zone') do
8281
+ @api_client.call_api(
8282
+ :PUT,
8283
+ path,
8284
+ endpoint,
8285
+ header_params: header_params,
8286
+ query_params: query_params,
8287
+ operation_signing_strategy: operation_signing_strategy,
8288
+ body: post_body,
8289
+ return_type: 'OCI::CloudGuard::Models::SecurityZone'
8290
+ )
8291
+ end
8292
+ # rubocop:enable Metrics/BlockLength
8293
+ end
8294
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
8295
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
8296
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
8297
+
8298
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
8299
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
8300
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
8301
+
8302
+
6181
8303
  # Updates a Target identified by targetId
6182
8304
  # @param [String] target_id OCID of target
6183
8305
  # @param [OCI::CloudGuard::Models::UpdateTargetDetails] update_target_details The information to be updated.