oci 2.7.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1785) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -9
  3. data/lib/oci.rb +12 -1
  4. data/lib/oci/analytics/analytics.rb +1 -1
  5. data/lib/oci/analytics/analytics_client.rb +1 -1
  6. data/lib/oci/analytics/analytics_client_composite_operations.rb +1 -1
  7. data/lib/oci/analytics/models/analytics_instance.rb +1 -1
  8. data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +1 -1
  9. data/lib/oci/analytics/models/analytics_instance_summary.rb +1 -1
  10. data/lib/oci/analytics/models/capacity.rb +1 -1
  11. data/lib/oci/analytics/models/capacity_type.rb +1 -1
  12. data/lib/oci/analytics/models/change_compartment_details.rb +1 -1
  13. data/lib/oci/analytics/models/create_analytics_instance_details.rb +1 -1
  14. data/lib/oci/analytics/models/feature_set.rb +1 -1
  15. data/lib/oci/analytics/models/license_type.rb +1 -1
  16. data/lib/oci/analytics/models/scale_analytics_instance_details.rb +1 -1
  17. data/lib/oci/analytics/models/sort_by.rb +1 -1
  18. data/lib/oci/analytics/models/sort_order.rb +1 -1
  19. data/lib/oci/analytics/models/update_analytics_instance_details.rb +1 -1
  20. data/lib/oci/analytics/models/work_request.rb +1 -1
  21. data/lib/oci/analytics/models/work_request_action_result.rb +1 -1
  22. data/lib/oci/analytics/models/work_request_error.rb +1 -1
  23. data/lib/oci/analytics/models/work_request_log.rb +1 -1
  24. data/lib/oci/analytics/models/work_request_operation_type.rb +1 -1
  25. data/lib/oci/analytics/models/work_request_resource.rb +1 -1
  26. data/lib/oci/analytics/models/work_request_resource_type.rb +1 -1
  27. data/lib/oci/analytics/models/work_request_sort_by.rb +1 -1
  28. data/lib/oci/analytics/models/work_request_status.rb +1 -1
  29. data/lib/oci/analytics/models/work_request_summary.rb +1 -1
  30. data/lib/oci/announcements_service/announcement_client.rb +1 -1
  31. data/lib/oci/announcements_service/announcement_client_composite_operations.rb +1 -1
  32. data/lib/oci/announcements_service/announcements_service.rb +1 -1
  33. data/lib/oci/announcements_service/models/affected_resource.rb +1 -1
  34. data/lib/oci/announcements_service/models/announcement.rb +1 -1
  35. data/lib/oci/announcements_service/models/announcement_summary.rb +1 -1
  36. data/lib/oci/announcements_service/models/announcement_user_status_details.rb +1 -1
  37. data/lib/oci/announcements_service/models/announcements_collection.rb +1 -1
  38. data/lib/oci/announcements_service/models/base_announcement.rb +1 -1
  39. data/lib/oci/api_client.rb +3 -3
  40. data/lib/oci/api_client_proxy_settings.rb +1 -1
  41. data/lib/oci/apigateway/apigateway.rb +62 -0
  42. data/lib/oci/apigateway/deployment_client.rb +512 -0
  43. data/lib/oci/apigateway/deployment_client_composite_operations.rb +222 -0
  44. data/lib/oci/apigateway/gateway_client.rb +510 -0
  45. data/lib/oci/apigateway/gateway_client_composite_operations.rb +222 -0
  46. data/lib/oci/apigateway/models/access_log_policy.rb +156 -0
  47. data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +146 -0
  48. data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +164 -0
  49. data/lib/oci/apigateway/models/api_specification.rb +175 -0
  50. data/lib/oci/apigateway/models/api_specification_logging_policies.rb +166 -0
  51. data/lib/oci/apigateway/models/api_specification_request_policies.rb +170 -0
  52. data/lib/oci/apigateway/models/api_specification_route.rb +232 -0
  53. data/lib/oci/apigateway/models/api_specification_route_backend.rb +189 -0
  54. data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +158 -0
  55. data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +145 -0
  56. data/lib/oci/apigateway/models/authentication_policy.rb +202 -0
  57. data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +155 -0
  58. data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +155 -0
  59. data/lib/oci/apigateway/models/cors_policy.rb +239 -0
  60. data/lib/oci/apigateway/models/create_deployment_details.rb +254 -0
  61. data/lib/oci/apigateway/models/create_gateway_details.rb +241 -0
  62. data/lib/oci/apigateway/models/custom_authentication_policy.rb +196 -0
  63. data/lib/oci/apigateway/models/deployment.rb +361 -0
  64. data/lib/oci/apigateway/models/deployment_collection.rb +149 -0
  65. data/lib/oci/apigateway/models/deployment_summary.rb +324 -0
  66. data/lib/oci/apigateway/models/execution_log_policy.rb +195 -0
  67. data/lib/oci/apigateway/models/gateway.rb +366 -0
  68. data/lib/oci/apigateway/models/gateway_collection.rb +149 -0
  69. data/lib/oci/apigateway/models/gateway_summary.rb +321 -0
  70. data/lib/oci/{oce/models/delete_oce_instance_details.rb → apigateway/models/header_field_specification.rb} +20 -14
  71. data/lib/oci/apigateway/models/http_backend.rb +226 -0
  72. data/lib/oci/apigateway/models/oracle_function_backend.rb +163 -0
  73. data/lib/oci/apigateway/models/rate_limiting_policy.rb +187 -0
  74. data/lib/oci/apigateway/models/route_authorization_policy.rb +195 -0
  75. data/lib/oci/apigateway/models/stock_response_backend.rb +178 -0
  76. data/lib/oci/apigateway/models/update_deployment_details.rb +204 -0
  77. data/lib/oci/apigateway/models/update_gateway_details.rb +195 -0
  78. data/lib/oci/apigateway/models/work_request.rb +308 -0
  79. data/lib/oci/apigateway/models/work_request_collection.rb +149 -0
  80. data/lib/oci/apigateway/models/work_request_error.rb +172 -0
  81. data/lib/oci/apigateway/models/work_request_error_collection.rb +149 -0
  82. data/lib/oci/apigateway/models/work_request_log.rb +159 -0
  83. data/lib/oci/apigateway/models/work_request_log_collection.rb +149 -0
  84. data/lib/oci/apigateway/models/work_request_resource.rb +219 -0
  85. data/lib/oci/apigateway/models/work_request_summary.rb +256 -0
  86. data/lib/oci/apigateway/util.rb +2 -0
  87. data/lib/oci/apigateway/work_requests_client.rb +467 -0
  88. data/lib/oci/apigateway/work_requests_client_composite_operations.rb +24 -0
  89. data/lib/oci/application_migration/application_migration.rb +56 -0
  90. data/lib/oci/application_migration/application_migration_client.rb +1388 -0
  91. data/lib/oci/application_migration/application_migration_client_composite_operations.rb +24 -0
  92. data/lib/oci/application_migration/models/authorization_details.rb +179 -0
  93. data/lib/oci/application_migration/models/change_compartment_details.rb +155 -0
  94. data/lib/oci/application_migration/models/configuration_field.rb +224 -0
  95. data/lib/oci/application_migration/models/create_migration_details.rb +283 -0
  96. data/lib/oci/application_migration/models/create_source_details.rb +239 -0
  97. data/lib/oci/application_migration/models/discovery_details.rb +187 -0
  98. data/lib/oci/application_migration/models/ics_discovery_details.rb +176 -0
  99. data/lib/oci/application_migration/models/internal_authorization_details.rb +168 -0
  100. data/lib/oci/application_migration/models/internal_source_details.rb +162 -0
  101. data/lib/oci/application_migration/models/jcs_discovery_details.rb +176 -0
  102. data/lib/oci/application_migration/models/migration.rb +373 -0
  103. data/lib/oci/application_migration/models/migration_lifecycle_states.rb +15 -0
  104. data/lib/oci/application_migration/models/migration_states.rb +15 -0
  105. data/lib/oci/application_migration/models/migration_summary.rb +343 -0
  106. data/lib/oci/application_migration/models/migration_types.rb +14 -0
  107. data/lib/oci/application_migration/models/oac_discovery_details.rb +176 -0
  108. data/lib/oci/application_migration/models/ocic_authorization_details.rb +168 -0
  109. data/lib/oci/application_migration/models/ocic_source_details.rb +172 -0
  110. data/lib/oci/application_migration/models/oic_discovery_details.rb +176 -0
  111. data/lib/oci/application_migration/models/operation_status.rb +14 -0
  112. data/lib/oci/application_migration/models/operation_types.rb +19 -0
  113. data/lib/oci/application_migration/models/pcs_discovery_details.rb +176 -0
  114. data/lib/oci/application_migration/models/soacs_discovery_details.rb +176 -0
  115. data/lib/oci/application_migration/models/sort_orders.rb +10 -0
  116. data/lib/oci/application_migration/models/source.rb +277 -0
  117. data/lib/oci/application_migration/models/source_application.rb +211 -0
  118. data/lib/oci/application_migration/models/source_application_summary.rb +218 -0
  119. data/lib/oci/application_migration/models/source_details.rb +186 -0
  120. data/lib/oci/application_migration/models/source_lifecycle_states.rb +14 -0
  121. data/lib/oci/application_migration/models/source_summary.rb +294 -0
  122. data/lib/oci/application_migration/models/source_types.rb +10 -0
  123. data/lib/oci/application_migration/models/update_migration_details.rb +239 -0
  124. data/lib/oci/application_migration/models/update_source_details.rb +223 -0
  125. data/lib/oci/application_migration/models/work_request.rb +257 -0
  126. data/lib/oci/application_migration/models/work_request_error.rb +170 -0
  127. data/lib/oci/application_migration/models/work_request_log_entry.rb +159 -0
  128. data/lib/oci/application_migration/models/work_request_resource.rb +217 -0
  129. data/lib/oci/application_migration/models/work_request_summary.rb +250 -0
  130. data/lib/oci/application_migration/util.rb +1 -0
  131. data/lib/oci/audit/audit.rb +1 -1
  132. data/lib/oci/audit/audit_client.rb +1 -1
  133. data/lib/oci/audit/audit_client_composite_operations.rb +1 -1
  134. data/lib/oci/audit/models/audit_event.rb +1 -1
  135. data/lib/oci/audit/models/configuration.rb +1 -1
  136. data/lib/oci/audit/models/data.rb +1 -1
  137. data/lib/oci/audit/models/identity.rb +1 -1
  138. data/lib/oci/audit/models/request.rb +1 -1
  139. data/lib/oci/audit/models/response.rb +1 -1
  140. data/lib/oci/audit/models/state_change.rb +1 -1
  141. data/lib/oci/audit/models/update_configuration_details.rb +1 -1
  142. data/lib/oci/auth/federation_client.rb +4 -2
  143. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +6 -2
  144. data/lib/oci/autoscaling/auto_scaling_client.rb +1 -1
  145. data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +1 -1
  146. data/lib/oci/autoscaling/autoscaling.rb +1 -1
  147. data/lib/oci/autoscaling/models/action.rb +1 -1
  148. data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +1 -1
  149. data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +1 -1
  150. data/lib/oci/autoscaling/models/auto_scaling_policy.rb +1 -1
  151. data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +1 -1
  152. data/lib/oci/autoscaling/models/capacity.rb +1 -1
  153. data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +1 -1
  154. data/lib/oci/autoscaling/models/condition.rb +1 -1
  155. data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +1 -1
  156. data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +1 -1
  157. data/lib/oci/autoscaling/models/create_condition_details.rb +1 -1
  158. data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +1 -1
  159. data/lib/oci/autoscaling/models/instance_pool_resource.rb +1 -1
  160. data/lib/oci/autoscaling/models/metric.rb +1 -1
  161. data/lib/oci/autoscaling/models/resource.rb +1 -1
  162. data/lib/oci/autoscaling/models/threshold.rb +1 -1
  163. data/lib/oci/autoscaling/models/threshold_policy.rb +1 -1
  164. data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +1 -1
  165. data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +1 -1
  166. data/lib/oci/autoscaling/models/update_condition_details.rb +1 -1
  167. data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +1 -1
  168. data/lib/oci/base_signer.rb +1 -1
  169. data/lib/oci/bds/bds.rb +44 -0
  170. data/lib/oci/bds/bds_client.rb +1046 -0
  171. data/lib/oci/bds/bds_client_composite_operations.rb +422 -0
  172. data/lib/oci/bds/models/action_types.rb +13 -0
  173. data/lib/oci/bds/models/add_block_storage_details.rb +169 -0
  174. data/lib/oci/bds/models/add_cloud_sql_details.rb +179 -0
  175. data/lib/oci/bds/models/add_worker_nodes_details.rb +167 -0
  176. data/lib/oci/bds/models/bds_instance.rb +435 -0
  177. data/lib/oci/bds/models/bds_instance_summary.rb +309 -0
  178. data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +153 -0
  179. data/lib/oci/bds/models/cloud_sql_details.rb +211 -0
  180. data/lib/oci/bds/models/cluster_details.rb +239 -0
  181. data/lib/oci/bds/models/create_bds_instance_details.rb +297 -0
  182. data/lib/oci/bds/models/create_node_details.rb +193 -0
  183. data/lib/oci/bds/models/default_error.rb +159 -0
  184. data/lib/oci/bds/models/kerberos_details.rb +167 -0
  185. data/lib/oci/bds/models/network_config.rb +167 -0
  186. data/lib/oci/bds/models/node.rb +389 -0
  187. data/lib/oci/bds/models/operation_status.rb +14 -0
  188. data/lib/oci/bds/models/operation_types.rb +16 -0
  189. data/lib/oci/bds/models/remove_cloud_sql_details.rb +153 -0
  190. data/lib/oci/bds/models/sort_orders.rb +10 -0
  191. data/lib/oci/bds/models/update_bds_instance_details.rb +185 -0
  192. data/lib/oci/bds/models/volume_attachment_detail.rb +167 -0
  193. data/lib/oci/bds/models/work_request.rb +311 -0
  194. data/lib/oci/bds/models/work_request_error.rb +172 -0
  195. data/lib/oci/bds/models/work_request_log_entry.rb +159 -0
  196. data/lib/oci/bds/models/work_request_resource.rb +218 -0
  197. data/lib/oci/bds/util.rb +2 -0
  198. data/lib/oci/budget/budget.rb +1 -1
  199. data/lib/oci/budget/budget_client.rb +10 -12
  200. data/lib/oci/budget/budget_client_composite_operations.rb +1 -1
  201. data/lib/oci/budget/models/alert_rule.rb +1 -1
  202. data/lib/oci/budget/models/alert_rule_summary.rb +2 -2
  203. data/lib/oci/budget/models/alert_type.rb +1 -1
  204. data/lib/oci/budget/models/budget.rb +2 -2
  205. data/lib/oci/budget/models/budget_summary.rb +2 -2
  206. data/lib/oci/budget/models/create_alert_rule_details.rb +2 -2
  207. data/lib/oci/budget/models/create_budget_details.rb +2 -2
  208. data/lib/oci/budget/models/lifecycle_state.rb +1 -1
  209. data/lib/oci/budget/models/reset_period.rb +1 -1
  210. data/lib/oci/budget/models/sort_by.rb +1 -1
  211. data/lib/oci/budget/models/sort_order.rb +1 -1
  212. data/lib/oci/budget/models/target_type.rb +1 -1
  213. data/lib/oci/budget/models/threshold_type.rb +1 -1
  214. data/lib/oci/budget/models/update_alert_rule_details.rb +2 -2
  215. data/lib/oci/budget/models/update_budget_details.rb +1 -1
  216. data/lib/oci/config.rb +1 -1
  217. data/lib/oci/config_file_loader.rb +1 -1
  218. data/lib/oci/container_engine/container_engine.rb +8 -1
  219. data/lib/oci/container_engine/container_engine_client.rb +6 -2
  220. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +1 -1
  221. data/lib/oci/container_engine/models/add_on_options.rb +1 -1
  222. data/lib/oci/container_engine/models/admission_controller_options.rb +155 -0
  223. data/lib/oci/container_engine/models/cluster.rb +1 -1
  224. data/lib/oci/container_engine/models/cluster_create_options.rb +19 -5
  225. data/lib/oci/container_engine/models/cluster_endpoints.rb +1 -1
  226. data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +1 -1
  227. data/lib/oci/container_engine/models/cluster_metadata.rb +1 -1
  228. data/lib/oci/container_engine/models/cluster_options.rb +1 -1
  229. data/lib/oci/container_engine/models/cluster_summary.rb +1 -1
  230. data/lib/oci/container_engine/models/create_cluster_details.rb +1 -1
  231. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +5 -6
  232. data/lib/oci/container_engine/models/create_node_pool_details.rb +21 -3
  233. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +1 -1
  234. data/lib/oci/container_engine/models/key_value.rb +1 -1
  235. data/lib/oci/container_engine/models/kubernetes_network_config.rb +1 -1
  236. data/lib/oci/container_engine/models/node.rb +30 -2
  237. data/lib/oci/container_engine/models/node_error.rb +1 -1
  238. data/lib/oci/container_engine/models/node_pool.rb +20 -4
  239. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +1 -1
  240. data/lib/oci/container_engine/models/node_pool_options.rb +24 -11
  241. data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +1 -1
  242. data/lib/oci/container_engine/models/node_pool_summary.rb +20 -4
  243. data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → container_engine/models/node_source_details.rb} +37 -40
  244. data/lib/oci/container_engine/models/node_source_option.rb +205 -0
  245. data/lib/oci/container_engine/models/node_source_type.rb +9 -0
  246. data/lib/oci/container_engine/models/node_source_via_image_details.rb +161 -0
  247. data/lib/oci/container_engine/models/node_source_via_image_option.rb +166 -0
  248. data/lib/oci/container_engine/models/sort_order.rb +1 -1
  249. data/lib/oci/container_engine/models/update_cluster_details.rb +14 -5
  250. data/lib/oci/container_engine/models/update_cluster_options_details.rb +153 -0
  251. data/lib/oci/container_engine/models/update_node_pool_details.rb +1 -1
  252. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +1 -1
  253. data/lib/oci/container_engine/models/work_request.rb +1 -1
  254. data/lib/oci/container_engine/models/work_request_error.rb +1 -1
  255. data/lib/oci/container_engine/models/work_request_log_entry.rb +1 -1
  256. data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -1
  257. data/lib/oci/container_engine/models/work_request_resource.rb +1 -1
  258. data/lib/oci/container_engine/models/work_request_status.rb +1 -1
  259. data/lib/oci/container_engine/models/work_request_summary.rb +1 -1
  260. data/lib/oci/core/blockstorage_client.rb +110 -24
  261. data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -1
  262. data/lib/oci/core/compute_client.rb +12 -11
  263. data/lib/oci/core/compute_client_composite_operations.rb +1 -1
  264. data/lib/oci/core/compute_management_client.rb +39 -26
  265. data/lib/oci/core/compute_management_client_composite_operations.rb +11 -11
  266. data/lib/oci/core/core.rb +10 -1
  267. data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +1 -1
  268. data/lib/oci/core/models/add_security_rule_details.rb +5 -3
  269. data/lib/oci/core/models/added_network_security_group_security_rules.rb +1 -1
  270. data/lib/oci/core/models/app_catalog_listing.rb +1 -1
  271. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +1 -1
  272. data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +1 -1
  273. data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +1 -1
  274. data/lib/oci/core/models/app_catalog_listing_summary.rb +1 -1
  275. data/lib/oci/core/models/app_catalog_subscription.rb +1 -1
  276. data/lib/oci/core/models/app_catalog_subscription_summary.rb +1 -1
  277. data/lib/oci/core/models/attach_boot_volume_details.rb +1 -1
  278. data/lib/oci/core/models/attach_emulated_volume_details.rb +6 -2
  279. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +6 -2
  280. data/lib/oci/core/models/attach_load_balancer_details.rb +3 -2
  281. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +6 -2
  282. data/lib/oci/core/models/attach_service_determined_volume_details.rb +6 -2
  283. data/lib/oci/core/models/attach_vnic_details.rb +1 -1
  284. data/lib/oci/core/models/attach_volume_details.rb +20 -2
  285. data/lib/oci/core/models/bgp_session_info.rb +1 -1
  286. data/lib/oci/core/models/boot_volume.rb +26 -3
  287. data/lib/oci/core/models/boot_volume_attachment.rb +1 -1
  288. data/lib/oci/core/models/boot_volume_backup.rb +17 -3
  289. data/lib/oci/core/models/boot_volume_kms_key.rb +3 -3
  290. data/lib/oci/core/models/boot_volume_source_details.rb +1 -1
  291. data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +1 -1
  292. data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +1 -1
  293. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +1 -1
  294. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +1 -1
  295. data/lib/oci/core/models/capture_console_history_details.rb +1 -1
  296. data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +1 -1
  297. data/lib/oci/core/models/change_boot_volume_compartment_details.rb +1 -1
  298. data/lib/oci/core/models/change_cluster_network_compartment_details.rb +3 -3
  299. data/lib/oci/core/models/change_cpe_compartment_details.rb +1 -1
  300. data/lib/oci/core/models/change_cross_connect_compartment_details.rb +1 -1
  301. data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +1 -1
  302. data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +1 -1
  303. data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +1 -1
  304. data/lib/oci/core/models/change_drg_compartment_details.rb +1 -1
  305. data/lib/oci/core/models/change_image_compartment_details.rb +1 -1
  306. data/lib/oci/core/models/change_instance_compartment_details.rb +1 -1
  307. data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +1 -1
  308. data/lib/oci/core/models/change_instance_pool_compartment_details.rb +1 -1
  309. data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +1 -1
  310. data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +1 -1
  311. data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +1 -1
  312. data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +1 -1
  313. data/lib/oci/core/models/change_network_security_group_compartment_details.rb +1 -1
  314. data/lib/oci/core/models/change_public_ip_compartment_details.rb +1 -1
  315. data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +1 -1
  316. data/lib/oci/core/models/change_route_table_compartment_details.rb +1 -1
  317. data/lib/oci/core/models/change_security_list_compartment_details.rb +1 -1
  318. data/lib/oci/core/models/change_service_gateway_compartment_details.rb +1 -1
  319. data/lib/oci/core/models/change_subnet_compartment_details.rb +1 -1
  320. data/lib/oci/core/models/change_vcn_compartment_details.rb +1 -1
  321. data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +1 -1
  322. data/lib/oci/core/models/change_volume_backup_compartment_details.rb +1 -1
  323. data/lib/oci/core/models/change_volume_compartment_details.rb +1 -1
  324. data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +1 -1
  325. data/lib/oci/core/models/change_volume_group_compartment_details.rb +1 -1
  326. data/lib/oci/core/models/cluster_network.rb +16 -7
  327. data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +5 -2
  328. data/lib/oci/core/models/cluster_network_summary.rb +10 -5
  329. data/lib/oci/core/models/compute_instance_details.rb +1 -1
  330. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +1 -1
  331. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +1 -1
  332. data/lib/oci/core/models/console_history.rb +1 -1
  333. data/lib/oci/core/models/copy_boot_volume_backup_details.rb +194 -0
  334. data/lib/oci/core/models/copy_volume_backup_details.rb +2 -2
  335. data/lib/oci/core/models/cpe.rb +30 -2
  336. data/lib/oci/core/models/cpe_device_config_answer.rb +165 -0
  337. data/lib/oci/core/models/cpe_device_config_question.rb +180 -0
  338. data/lib/oci/core/models/cpe_device_info.rb +163 -0
  339. data/lib/oci/core/models/cpe_device_shape_detail.rb +203 -0
  340. data/lib/oci/core/models/cpe_device_shape_summary.rb +167 -0
  341. data/lib/oci/core/models/create_app_catalog_subscription_details.rb +7 -7
  342. data/lib/oci/core/models/create_boot_volume_backup_details.rb +1 -1
  343. data/lib/oci/core/models/create_boot_volume_details.rb +28 -3
  344. data/lib/oci/core/models/create_cluster_network_details.rb +13 -6
  345. data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +10 -3
  346. data/lib/oci/core/models/create_cpe_details.rb +31 -5
  347. data/lib/oci/core/models/create_cross_connect_details.rb +1 -1
  348. data/lib/oci/core/models/create_cross_connect_group_details.rb +1 -1
  349. data/lib/oci/core/models/create_dedicated_vm_host_details.rb +1 -1
  350. data/lib/oci/core/models/create_dhcp_details.rb +1 -1
  351. data/lib/oci/core/models/create_drg_attachment_details.rb +1 -1
  352. data/lib/oci/core/models/create_drg_details.rb +1 -1
  353. data/lib/oci/core/models/create_image_details.rb +1 -1
  354. data/lib/oci/core/models/create_instance_configuration_base.rb +1 -1
  355. data/lib/oci/core/models/create_instance_configuration_details.rb +1 -1
  356. data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +1 -1
  357. data/lib/oci/core/models/create_instance_console_connection_details.rb +1 -1
  358. data/lib/oci/core/models/create_instance_pool_details.rb +6 -3
  359. data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +33 -3
  360. data/lib/oci/core/models/create_internet_gateway_details.rb +1 -1
  361. data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
  362. data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +1 -1
  363. data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +1 -1
  364. data/lib/oci/core/models/create_ipv6_details.rb +1 -1
  365. data/lib/oci/core/models/create_local_peering_gateway_details.rb +1 -1
  366. data/lib/oci/core/models/create_nat_gateway_details.rb +1 -1
  367. data/lib/oci/core/models/create_network_security_group_details.rb +1 -1
  368. data/lib/oci/core/models/create_private_ip_details.rb +1 -1
  369. data/lib/oci/core/models/create_public_ip_details.rb +1 -1
  370. data/lib/oci/core/models/create_remote_peering_connection_details.rb +1 -1
  371. data/lib/oci/core/models/create_route_table_details.rb +1 -1
  372. data/lib/oci/core/models/create_security_list_details.rb +1 -1
  373. data/lib/oci/core/models/create_service_gateway_details.rb +1 -1
  374. data/lib/oci/core/models/create_subnet_details.rb +1 -1
  375. data/lib/oci/core/models/create_vcn_details.rb +1 -1
  376. data/lib/oci/core/models/create_virtual_circuit_details.rb +22 -3
  377. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -2
  378. data/lib/oci/core/models/create_vnic_details.rb +11 -8
  379. data/lib/oci/core/models/create_volume_backup_details.rb +1 -1
  380. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +3 -3
  381. data/lib/oci/core/models/create_volume_backup_policy_details.rb +11 -4
  382. data/lib/oci/core/models/create_volume_details.rb +30 -3
  383. data/lib/oci/core/models/create_volume_group_backup_details.rb +1 -1
  384. data/lib/oci/core/models/create_volume_group_details.rb +1 -1
  385. data/lib/oci/core/models/cross_connect.rb +1 -1
  386. data/lib/oci/core/models/cross_connect_group.rb +1 -1
  387. data/lib/oci/core/models/cross_connect_location.rb +1 -1
  388. data/lib/oci/core/models/cross_connect_mapping.rb +5 -3
  389. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +1 -1
  390. data/lib/oci/core/models/cross_connect_status.rb +1 -1
  391. data/lib/oci/core/models/dedicated_vm_host.rb +1 -1
  392. data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +1 -1
  393. data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +1 -1
  394. data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +1 -1
  395. data/lib/oci/core/models/dedicated_vm_host_summary.rb +1 -1
  396. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +1 -1
  397. data/lib/oci/core/models/detach_load_balancer_details.rb +1 -1
  398. data/lib/oci/core/models/device.rb +1 -1
  399. data/lib/oci/core/models/dhcp_dns_option.rb +1 -1
  400. data/lib/oci/core/models/dhcp_option.rb +1 -1
  401. data/lib/oci/core/models/dhcp_options.rb +1 -1
  402. data/lib/oci/core/models/dhcp_search_domain_option.rb +1 -1
  403. data/lib/oci/core/models/drg.rb +1 -1
  404. data/lib/oci/core/models/drg_attachment.rb +1 -1
  405. data/lib/oci/core/models/drg_redundancy_status.rb +187 -0
  406. data/lib/oci/core/models/egress_security_rule.rb +18 -6
  407. data/lib/oci/core/models/emulated_volume_attachment.rb +6 -2
  408. data/lib/oci/core/models/export_image_details.rb +1 -1
  409. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +1 -1
  410. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +1 -1
  411. data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
  412. data/lib/oci/core/models/fast_connect_provider_service_key.rb +2 -2
  413. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +1 -1
  414. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +1 -1
  415. data/lib/oci/core/models/i_scsi_volume_attachment.rb +6 -2
  416. data/lib/oci/core/models/icmp_options.rb +1 -1
  417. data/lib/oci/core/models/image.rb +1 -1
  418. data/lib/oci/core/models/image_shape_compatibility_entry.rb +1 -1
  419. data/lib/oci/core/models/image_source_details.rb +1 -1
  420. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +1 -1
  421. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +1 -1
  422. data/lib/oci/core/models/ingress_security_rule.rb +18 -6
  423. data/lib/oci/core/models/instance.rb +1 -1
  424. data/lib/oci/core/models/instance_agent_config.rb +22 -5
  425. data/lib/oci/core/models/instance_agent_features.rb +20 -5
  426. data/lib/oci/core/models/instance_configuration.rb +1 -1
  427. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +1 -1
  428. data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +1 -1
  429. data/lib/oci/core/models/instance_configuration_block_volume_details.rb +1 -1
  430. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +1 -1
  431. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +1 -1
  432. data/lib/oci/core/models/instance_configuration_instance_details.rb +1 -1
  433. data/lib/oci/core/models/instance_configuration_instance_source_details.rb +1 -1
  434. data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +1 -1
  435. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
  436. data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +1 -1
  437. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +1 -1
  438. data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +1 -1
  439. data/lib/oci/core/models/instance_configuration_summary.rb +1 -1
  440. data/lib/oci/core/models/instance_configuration_volume_source_details.rb +1 -1
  441. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +1 -1
  442. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +1 -1
  443. data/lib/oci/core/models/instance_console_connection.rb +2 -2
  444. data/lib/oci/core/models/instance_credentials.rb +1 -1
  445. data/lib/oci/core/models/instance_pool.rb +9 -5
  446. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +1 -1
  447. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +6 -4
  448. data/lib/oci/core/models/instance_pool_placement_configuration.rb +33 -3
  449. data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +4 -4
  450. data/lib/oci/core/models/instance_pool_summary.rb +1 -1
  451. data/lib/oci/core/models/instance_source_details.rb +1 -1
  452. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +1 -1
  453. data/lib/oci/core/models/instance_source_via_image_details.rb +2 -2
  454. data/lib/oci/core/models/instance_summary.rb +1 -1
  455. data/lib/oci/core/models/internet_gateway.rb +1 -1
  456. data/lib/oci/core/models/ip_sec_connection.rb +2 -2
  457. data/lib/oci/core/models/ip_sec_connection_device_config.rb +1 -1
  458. data/lib/oci/core/models/ip_sec_connection_device_status.rb +1 -1
  459. data/lib/oci/core/models/ip_sec_connection_tunnel.rb +1 -1
  460. data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +1 -1
  461. data/lib/oci/core/models/ipv6.rb +3 -4
  462. data/lib/oci/core/models/launch_instance_agent_config_details.rb +23 -5
  463. data/lib/oci/core/models/launch_instance_details.rb +1 -1
  464. data/lib/oci/core/models/launch_options.rb +1 -1
  465. data/lib/oci/core/models/letter_of_authority.rb +1 -1
  466. data/lib/oci/core/models/local_peering_gateway.rb +1 -1
  467. data/lib/oci/core/models/nat_gateway.rb +1 -1
  468. data/lib/oci/core/models/network_security_group.rb +1 -1
  469. data/lib/oci/core/models/network_security_group_vnic.rb +1 -1
  470. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +6 -2
  471. data/lib/oci/core/models/peer_region_for_remote_peering.rb +1 -1
  472. data/lib/oci/core/models/port_range.rb +1 -1
  473. data/lib/oci/core/models/private_ip.rb +1 -1
  474. data/lib/oci/core/models/public_ip.rb +1 -1
  475. data/lib/oci/core/models/remote_peering_connection.rb +1 -1
  476. data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +1 -1
  477. data/lib/oci/core/models/route_rule.rb +18 -7
  478. data/lib/oci/core/models/route_table.rb +1 -1
  479. data/lib/oci/core/models/security_list.rb +1 -2
  480. data/lib/oci/core/models/security_rule.rb +5 -3
  481. data/lib/oci/core/models/service.rb +1 -1
  482. data/lib/oci/core/models/service_gateway.rb +1 -1
  483. data/lib/oci/core/models/service_id_request_details.rb +1 -1
  484. data/lib/oci/core/models/service_id_response_details.rb +1 -1
  485. data/lib/oci/core/models/shape.rb +1 -1
  486. data/lib/oci/core/models/subnet.rb +3 -3
  487. data/lib/oci/core/models/tcp_options.rb +1 -1
  488. data/lib/oci/core/models/tunnel_config.rb +1 -1
  489. data/lib/oci/core/models/tunnel_cpe_device_config.rb +163 -0
  490. data/lib/oci/core/models/tunnel_status.rb +1 -1
  491. data/lib/oci/core/models/udp_options.rb +1 -1
  492. data/lib/oci/core/models/update_boot_volume_backup_details.rb +1 -1
  493. data/lib/oci/core/models/update_boot_volume_details.rb +28 -5
  494. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +4 -4
  495. data/lib/oci/core/models/update_cluster_network_details.rb +5 -3
  496. data/lib/oci/core/models/update_console_history_details.rb +1 -1
  497. data/lib/oci/core/models/update_cpe_details.rb +30 -5
  498. data/lib/oci/core/models/update_cross_connect_details.rb +1 -1
  499. data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -1
  500. data/lib/oci/core/models/update_dedicated_vm_host_details.rb +1 -1
  501. data/lib/oci/core/models/update_dhcp_details.rb +1 -1
  502. data/lib/oci/core/models/update_drg_attachment_details.rb +1 -1
  503. data/lib/oci/core/models/update_drg_details.rb +1 -1
  504. data/lib/oci/core/models/update_image_details.rb +1 -1
  505. data/lib/oci/core/models/update_instance_agent_config_details.rb +22 -5
  506. data/lib/oci/core/models/update_instance_configuration_details.rb +1 -1
  507. data/lib/oci/core/models/update_instance_details.rb +20 -37
  508. data/lib/oci/core/models/update_instance_pool_details.rb +4 -2
  509. data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +31 -2
  510. data/lib/oci/core/models/update_internet_gateway_details.rb +1 -1
  511. data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
  512. data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +1 -1
  513. data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +1 -1
  514. data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +1 -1
  515. data/lib/oci/core/models/update_ipv6_details.rb +1 -1
  516. data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -1
  517. data/lib/oci/core/models/update_nat_gateway_details.rb +1 -1
  518. data/lib/oci/core/models/update_network_security_group_details.rb +1 -1
  519. data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +1 -1
  520. data/lib/oci/core/models/update_private_ip_details.rb +1 -1
  521. data/lib/oci/core/models/update_public_ip_details.rb +1 -1
  522. data/lib/oci/core/models/update_remote_peering_connection_details.rb +1 -1
  523. data/lib/oci/core/models/update_route_table_details.rb +1 -1
  524. data/lib/oci/core/models/update_security_list_details.rb +1 -1
  525. data/lib/oci/core/models/update_security_rule_details.rb +5 -3
  526. data/lib/oci/core/models/update_service_gateway_details.rb +1 -1
  527. data/lib/oci/core/models/update_subnet_details.rb +1 -1
  528. data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +154 -0
  529. data/lib/oci/core/models/update_vcn_details.rb +1 -1
  530. data/lib/oci/core/models/update_virtual_circuit_details.rb +21 -3
  531. data/lib/oci/core/models/update_vnic_details.rb +7 -4
  532. data/lib/oci/core/models/update_volume_backup_details.rb +1 -1
  533. data/lib/oci/core/models/update_volume_backup_policy_details.rb +10 -3
  534. data/lib/oci/core/models/update_volume_details.rb +27 -2
  535. data/lib/oci/core/models/update_volume_group_backup_details.rb +1 -1
  536. data/lib/oci/core/models/update_volume_group_details.rb +1 -1
  537. data/lib/oci/core/models/update_volume_kms_key_details.rb +4 -4
  538. data/lib/oci/core/models/updated_network_security_group_security_rules.rb +1 -1
  539. data/lib/oci/core/models/vcn.rb +3 -2
  540. data/lib/oci/core/models/virtual_circuit.rb +21 -4
  541. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +1 -1
  542. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +1 -1
  543. data/lib/oci/core/models/vnic.rb +1 -1
  544. data/lib/oci/core/models/vnic_attachment.rb +2 -2
  545. data/lib/oci/core/models/volume.rb +28 -3
  546. data/lib/oci/core/models/volume_attachment.rb +16 -2
  547. data/lib/oci/core/models/volume_backup.rb +2 -2
  548. data/lib/oci/core/models/volume_backup_policy.rb +1 -1
  549. data/lib/oci/core/models/volume_backup_policy_assignment.rb +9 -5
  550. data/lib/oci/core/models/volume_backup_schedule.rb +27 -11
  551. data/lib/oci/core/models/volume_group.rb +2 -2
  552. data/lib/oci/core/models/volume_group_backup.rb +1 -1
  553. data/lib/oci/core/models/volume_group_source_details.rb +1 -1
  554. data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +1 -1
  555. data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +1 -1
  556. data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +1 -1
  557. data/lib/oci/core/models/volume_kms_key.rb +3 -3
  558. data/lib/oci/core/models/volume_source_details.rb +1 -1
  559. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +1 -1
  560. data/lib/oci/core/models/volume_source_from_volume_details.rb +1 -1
  561. data/lib/oci/core/virtual_network_client.rb +699 -1
  562. data/lib/oci/core/virtual_network_client_composite_operations.rb +1 -1
  563. data/lib/oci/data_catalog/data_catalog.rb +135 -0
  564. data/lib/oci/data_catalog/data_catalog_client.rb +7577 -0
  565. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +172 -0
  566. data/lib/oci/data_catalog/models/attribute.rb +403 -0
  567. data/lib/oci/data_catalog/models/attribute_collection.rb +150 -0
  568. data/lib/oci/data_catalog/models/attribute_summary.rb +281 -0
  569. data/lib/oci/data_catalog/models/attribute_tag.rb +269 -0
  570. data/lib/oci/data_catalog/models/attribute_tag_collection.rb +150 -0
  571. data/lib/oci/data_catalog/models/attribute_tag_summary.rb +269 -0
  572. data/lib/oci/data_catalog/models/base_permissions_summary.rb +153 -0
  573. data/lib/oci/data_catalog/models/base_tag.rb +255 -0
  574. data/lib/oci/data_catalog/models/base_tag_summary.rb +255 -0
  575. data/lib/oci/data_catalog/models/catalog.rb +311 -0
  576. data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +167 -0
  577. data/lib/oci/data_catalog/models/catalog_summary.rb +279 -0
  578. data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +153 -0
  579. data/lib/oci/data_catalog/models/connection.rb +343 -0
  580. data/lib/oci/data_catalog/models/connection_alias_summary.rb +170 -0
  581. data/lib/oci/data_catalog/models/connection_collection.rb +150 -0
  582. data/lib/oci/data_catalog/models/connection_result.rb +10 -0
  583. data/lib/oci/data_catalog/models/connection_summary.rb +271 -0
  584. data/lib/oci/data_catalog/models/create_attribute_details.rb +283 -0
  585. data/lib/oci/data_catalog/models/create_catalog_details.rb +199 -0
  586. data/lib/oci/data_catalog/models/create_connection_details.rb +237 -0
  587. data/lib/oci/data_catalog/models/create_data_asset_details.rb +197 -0
  588. data/lib/oci/data_catalog/models/create_entity_details.rb +275 -0
  589. data/lib/oci/data_catalog/models/create_folder_details.rb +239 -0
  590. data/lib/oci/data_catalog/models/create_glossary_details.rb +189 -0
  591. data/lib/oci/data_catalog/models/create_job_definition_details.rb +271 -0
  592. data/lib/oci/data_catalog/models/create_job_details.rb +240 -0
  593. data/lib/oci/data_catalog/models/create_job_execution_details.rb +342 -0
  594. data/lib/oci/data_catalog/models/create_tag_details.rb +165 -0
  595. data/lib/oci/data_catalog/models/create_term_details.rb +219 -0
  596. data/lib/oci/data_catalog/models/create_term_relationship_details.rb +179 -0
  597. data/lib/oci/data_catalog/models/data_asset.rb +319 -0
  598. data/lib/oci/data_catalog/models/data_asset_collection.rb +150 -0
  599. data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +167 -0
  600. data/lib/oci/data_catalog/models/data_asset_summary.rb +261 -0
  601. data/lib/oci/data_catalog/models/data_asset_tag.rb +269 -0
  602. data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +150 -0
  603. data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +269 -0
  604. data/lib/oci/data_catalog/models/entity.rb +428 -0
  605. data/lib/oci/data_catalog/models/entity_collection.rb +150 -0
  606. data/lib/oci/data_catalog/models/entity_summary.rb +299 -0
  607. data/lib/oci/data_catalog/models/entity_tag.rb +269 -0
  608. data/lib/oci/data_catalog/models/entity_tag_collection.rb +150 -0
  609. data/lib/oci/data_catalog/models/entity_tag_summary.rb +269 -0
  610. data/lib/oci/data_catalog/models/folder.rb +371 -0
  611. data/lib/oci/data_catalog/models/folder_collection.rb +150 -0
  612. data/lib/oci/data_catalog/models/folder_summary.rb +286 -0
  613. data/lib/oci/data_catalog/models/folder_tag.rb +269 -0
  614. data/lib/oci/data_catalog/models/folder_tag_collection.rb +150 -0
  615. data/lib/oci/data_catalog/models/folder_tag_summary.rb +269 -0
  616. data/lib/oci/data_catalog/models/glossary.rb +304 -0
  617. data/lib/oci/data_catalog/models/glossary_collection.rb +150 -0
  618. data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +167 -0
  619. data/lib/oci/data_catalog/models/glossary_summary.rb +251 -0
  620. data/lib/oci/data_catalog/models/glossary_tree_element.rb +311 -0
  621. data/lib/oci/data_catalog/models/harvest_status.rb +12 -0
  622. data/lib/oci/data_catalog/models/import_connection_details.rb +166 -0
  623. data/lib/oci/data_catalog/models/import_glossary_details.rb +153 -0
  624. data/lib/oci/data_catalog/models/job.rb +420 -0
  625. data/lib/oci/data_catalog/models/job_collection.rb +150 -0
  626. data/lib/oci/data_catalog/models/job_definition.rb +391 -0
  627. data/lib/oci/data_catalog/models/job_definition_collection.rb +150 -0
  628. data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +167 -0
  629. data/lib/oci/data_catalog/models/job_definition_scope.rb +229 -0
  630. data/lib/oci/data_catalog/models/job_definition_summary.rb +262 -0
  631. data/lib/oci/data_catalog/models/job_execution.rb +420 -0
  632. data/lib/oci/data_catalog/models/job_execution_collection.rb +150 -0
  633. data/lib/oci/data_catalog/models/job_execution_state.rb +14 -0
  634. data/lib/oci/data_catalog/models/job_execution_summary.rb +275 -0
  635. data/lib/oci/data_catalog/models/job_lifecycle_state.rb +11 -0
  636. data/lib/oci/data_catalog/models/job_log.rb +258 -0
  637. data/lib/oci/data_catalog/models/job_log_collection.rb +150 -0
  638. data/lib/oci/data_catalog/models/job_log_summary.rb +216 -0
  639. data/lib/oci/data_catalog/models/job_metric.rb +336 -0
  640. data/lib/oci/data_catalog/models/job_metric_collection.rb +150 -0
  641. data/lib/oci/data_catalog/models/job_metric_summary.rb +289 -0
  642. data/lib/oci/data_catalog/models/job_schedule_type.rb +10 -0
  643. data/lib/oci/data_catalog/models/job_summary.rb +386 -0
  644. data/lib/oci/data_catalog/models/job_type.rb +21 -0
  645. data/lib/oci/data_catalog/models/lifecycle_state.rb +16 -0
  646. data/lib/oci/data_catalog/models/parse_connection_details.rb +166 -0
  647. data/lib/oci/data_catalog/models/property_definition.rb +187 -0
  648. data/lib/oci/data_catalog/models/search_criteria.rb +150 -0
  649. data/lib/oci/data_catalog/models/search_result.rb +490 -0
  650. data/lib/oci/data_catalog/models/search_result_collection.rb +161 -0
  651. data/lib/oci/data_catalog/models/search_tag_summary.rb +163 -0
  652. data/lib/oci/data_catalog/models/search_term_summary.rb +222 -0
  653. data/lib/oci/data_catalog/models/term.rb +367 -0
  654. data/lib/oci/data_catalog/models/term_associated_object.rb +169 -0
  655. data/lib/oci/data_catalog/models/term_collection.rb +150 -0
  656. data/lib/oci/data_catalog/models/term_relationship.rb +300 -0
  657. data/lib/oci/data_catalog/models/term_relationship_collection.rb +150 -0
  658. data/lib/oci/data_catalog/models/term_relationship_summary.rb +300 -0
  659. data/lib/oci/data_catalog/models/term_summary.rb +300 -0
  660. data/lib/oci/data_catalog/models/term_workflow_status.rb +12 -0
  661. data/lib/oci/data_catalog/models/type.rb +308 -0
  662. data/lib/oci/data_catalog/models/type_collection.rb +150 -0
  663. data/lib/oci/data_catalog/models/type_summary.rb +223 -0
  664. data/lib/oci/data_catalog/models/update_attribute_details.rb +279 -0
  665. data/lib/oci/data_catalog/models/update_catalog_details.rb +185 -0
  666. data/lib/oci/data_catalog/models/update_connection_details.rb +219 -0
  667. data/lib/oci/data_catalog/models/update_data_asset_details.rb +180 -0
  668. data/lib/oci/data_catalog/models/update_entity_details.rb +271 -0
  669. data/lib/oci/data_catalog/models/update_folder_details.rb +239 -0
  670. data/lib/oci/data_catalog/models/update_glossary_details.rb +189 -0
  671. data/lib/oci/data_catalog/models/update_job_definition_details.rb +252 -0
  672. data/lib/oci/data_catalog/models/update_job_details.rb +224 -0
  673. data/lib/oci/data_catalog/models/update_term_details.rb +203 -0
  674. data/lib/oci/data_catalog/models/update_term_relationship_details.rb +165 -0
  675. data/lib/oci/data_catalog/models/upload_credentials_details.rb +166 -0
  676. data/lib/oci/data_catalog/models/validate_connection_details.rb +166 -0
  677. data/lib/oci/data_catalog/models/validate_connection_result.rb +159 -0
  678. data/lib/oci/data_catalog/models/work_request.rb +307 -0
  679. data/lib/oci/data_catalog/models/work_request_error.rb +172 -0
  680. data/lib/oci/data_catalog/models/work_request_log.rb +159 -0
  681. data/lib/oci/data_catalog/models/work_request_resource.rb +218 -0
  682. data/lib/oci/data_catalog/util.rb +1 -0
  683. data/lib/oci/data_flow/data_flow.rb +34 -0
  684. data/lib/oci/data_flow/data_flow_client.rb +1116 -0
  685. data/lib/oci/data_flow/data_flow_client_composite_operations.rb +270 -0
  686. data/lib/oci/data_flow/models/application.rb +527 -0
  687. data/lib/oci/data_flow/models/application_language.rb +12 -0
  688. data/lib/oci/data_flow/models/application_lifecycle_state.rb +11 -0
  689. data/lib/oci/data_flow/models/application_parameter.rb +165 -0
  690. data/lib/oci/data_flow/models/application_summary.rb +345 -0
  691. data/lib/oci/data_flow/models/change_application_compartment_details.rb +155 -0
  692. data/lib/oci/data_flow/models/change_run_compartment_details.rb +155 -0
  693. data/lib/oci/data_flow/models/create_application_details.rb +411 -0
  694. data/lib/oci/data_flow/models/create_run_details.rb +358 -0
  695. data/lib/oci/data_flow/models/run.rb +625 -0
  696. data/lib/oci/data_flow/models/run_lifecycle_state.rb +14 -0
  697. data/lib/oci/data_flow/models/run_log_summary.rb +259 -0
  698. data/lib/oci/data_flow/models/run_summary.rb +454 -0
  699. data/lib/oci/data_flow/models/update_application_details.rb +396 -0
  700. data/lib/oci/data_flow/models/update_run_details.rb +173 -0
  701. data/lib/oci/data_flow/util.rb +1 -0
  702. data/lib/oci/data_science/data_science.rb +49 -0
  703. data/lib/oci/data_science/data_science_client.rb +2359 -0
  704. data/lib/oci/data_science/data_science_client_composite_operations.rb +587 -0
  705. data/lib/oci/data_science/models/change_model_compartment_details.rb +154 -0
  706. data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +154 -0
  707. data/lib/oci/data_science/models/change_project_compartment_details.rb +154 -0
  708. data/lib/oci/data_science/models/create_model_details.rb +225 -0
  709. data/lib/oci/data_science/models/create_model_provenance_details.rb +210 -0
  710. data/lib/oci/data_science/models/create_notebook_session_details.rb +230 -0
  711. data/lib/oci/data_science/models/create_project_details.rb +210 -0
  712. data/lib/oci/data_science/models/model.rb +299 -0
  713. data/lib/oci/data_science/models/model_lifecycle_state.rb +12 -0
  714. data/lib/oci/data_science/models/model_provenance.rb +210 -0
  715. data/lib/oci/data_science/models/model_summary.rb +289 -0
  716. data/lib/oci/data_science/models/notebook_session.rb +336 -0
  717. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +180 -0
  718. data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +15 -0
  719. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +181 -0
  720. data/lib/oci/data_science/models/notebook_session_summary.rb +321 -0
  721. data/lib/oci/data_science/models/project.rb +285 -0
  722. data/lib/oci/data_science/models/project_lifecycle_state.rb +11 -0
  723. data/lib/oci/data_science/models/project_summary.rb +284 -0
  724. data/lib/oci/data_science/models/update_model_details.rb +198 -0
  725. data/lib/oci/data_science/models/update_model_provenance_details.rb +210 -0
  726. data/lib/oci/data_science/models/update_notebook_session_details.rb +202 -0
  727. data/lib/oci/data_science/models/update_project_details.rb +195 -0
  728. data/lib/oci/data_science/models/work_request.rb +300 -0
  729. data/lib/oci/data_science/models/work_request_error.rb +170 -0
  730. data/lib/oci/data_science/models/work_request_log_entry.rb +159 -0
  731. data/lib/oci/data_science/models/work_request_operation_type.rb +14 -0
  732. data/lib/oci/data_science/models/work_request_resource.rb +214 -0
  733. data/lib/oci/data_science/models/work_request_status.rb +14 -0
  734. data/lib/oci/data_science/models/work_request_summary.rb +300 -0
  735. data/lib/oci/data_science/util.rb +1 -0
  736. data/lib/oci/database/database.rb +12 -3
  737. data/lib/oci/database/database_client.rb +730 -50
  738. data/lib/oci/database/database_client_composite_operations.rb +162 -4
  739. data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +1 -1
  740. data/lib/oci/database/models/associated_database_details.rb +1 -1
  741. data/lib/oci/database/models/autonomous_container_database.rb +17 -4
  742. data/lib/oci/database/models/autonomous_container_database_backup_config.rb +1 -1
  743. data/lib/oci/database/models/autonomous_container_database_summary.rb +17 -4
  744. data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -1
  745. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +1 -1
  746. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +1 -1
  747. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +1 -1
  748. data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +1 -1
  749. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -1
  750. data/lib/oci/database/models/autonomous_database.rb +157 -15
  751. data/lib/oci/database/models/autonomous_database_backup.rb +21 -5
  752. data/lib/oci/database/models/autonomous_database_backup_summary.rb +21 -5
  753. data/lib/oci/database/models/autonomous_database_connection_strings.rb +1 -1
  754. data/lib/oci/database/models/autonomous_database_connection_urls.rb +20 -6
  755. data/lib/oci/database/models/autonomous_database_console_token_details.rb +2 -2
  756. data/lib/oci/database/models/autonomous_database_summary.rb +157 -15
  757. data/lib/oci/database/models/autonomous_database_wallet.rb +1 -1
  758. data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +7 -3
  759. data/lib/oci/database/models/autonomous_db_version_summary.rb +213 -0
  760. data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +4 -2
  761. data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +1 -1
  762. data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +4 -2
  763. data/lib/oci/database/models/backup.rb +15 -5
  764. data/lib/oci/database/models/backup_destination.rb +1 -1
  765. data/lib/oci/database/models/backup_destination_details.rb +5 -39
  766. data/lib/oci/database/models/backup_destination_summary.rb +1 -1
  767. data/lib/oci/database/models/backup_summary.rb +15 -5
  768. data/lib/oci/database/models/change_compartment_details.rb +1 -1
  769. data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +1 -1
  770. data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +1 -1
  771. data/lib/oci/database/models/complete_external_backup_job_details.rb +1 -1
  772. data/lib/oci/database/models/console_connection.rb +235 -0
  773. data/lib/oci/database/models/console_connection_summary.rb +240 -0
  774. data/lib/oci/database/models/create_autonomous_container_database_details.rb +16 -3
  775. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
  776. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +1 -1
  777. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +1 -1
  778. data/lib/oci/database/models/create_autonomous_database_base.rb +110 -12
  779. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +22 -2
  780. data/lib/oci/database/models/create_autonomous_database_details.rb +22 -2
  781. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +269 -0
  782. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +279 -0
  783. data/lib/oci/database/models/create_backup_destination_details.rb +1 -1
  784. data/lib/oci/database/models/create_backup_details.rb +1 -1
  785. data/lib/oci/database/models/create_console_connection_details.rb +155 -0
  786. data/lib/oci/database/models/create_data_guard_association_details.rb +2 -2
  787. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +3 -3
  788. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +21 -5
  789. data/lib/oci/database/models/create_database_base.rb +215 -0
  790. data/lib/oci/database/models/create_database_details.rb +1 -1
  791. data/lib/oci/database/models/{create_db_home_with_vm_cluster_id_from_backup_details.rb → create_database_from_backup.rb} +16 -24
  792. data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
  793. data/lib/oci/database/models/create_db_home_base.rb +4 -6
  794. data/lib/oci/database/models/create_db_home_details.rb +3 -3
  795. data/lib/oci/database/models/create_db_home_from_backup_details.rb +3 -3
  796. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -2
  797. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +1 -1
  798. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -2
  799. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +4 -2
  800. data/lib/oci/database/models/create_external_backup_job_details.rb +1 -1
  801. data/lib/oci/database/models/create_new_database_details.rb +168 -0
  802. data/lib/oci/database/models/create_nfs_backup_destination_details.rb +1 -1
  803. data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +1 -1
  804. data/lib/oci/database/models/create_vm_cluster_details.rb +1 -1
  805. data/lib/oci/database/models/data_guard_association.rb +2 -2
  806. data/lib/oci/database/models/data_guard_association_summary.rb +2 -2
  807. data/lib/oci/database/models/database.rb +31 -3
  808. data/lib/oci/database/models/database_connection_strings.rb +1 -1
  809. data/lib/oci/database/models/database_summary.rb +31 -3
  810. data/lib/oci/database/models/day_of_week.rb +1 -1
  811. data/lib/oci/database/models/db_backup_config.rb +1 -1
  812. data/lib/oci/database/models/db_home.rb +34 -6
  813. data/lib/oci/database/models/db_home_summary.rb +37 -9
  814. data/lib/oci/database/models/db_iorm_config.rb +1 -1
  815. data/lib/oci/database/models/db_iorm_config_update_detail.rb +1 -1
  816. data/lib/oci/database/models/db_node.rb +79 -5
  817. data/lib/oci/database/models/db_node_summary.rb +79 -5
  818. data/lib/oci/database/models/db_system.rb +4 -2
  819. data/lib/oci/database/models/db_system_options.rb +7 -2
  820. data/lib/oci/database/models/db_system_shape_summary.rb +1 -1
  821. data/lib/oci/database/models/db_system_summary.rb +4 -2
  822. data/lib/oci/database/models/db_version_summary.rb +19 -5
  823. data/lib/oci/database/models/exadata_infrastructure.rb +1 -1
  824. data/lib/oci/database/models/exadata_infrastructure_summary.rb +1 -1
  825. data/lib/oci/database/models/exadata_iorm_config.rb +1 -1
  826. data/lib/oci/database/models/exadata_iorm_config_update_details.rb +1 -1
  827. data/lib/oci/database/models/external_backup_job.rb +1 -1
  828. data/lib/oci/database/models/failover_data_guard_association_details.rb +1 -1
  829. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +1 -1
  830. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +1 -1
  831. data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
  832. data/lib/oci/database/models/gi_version_summary.rb +1 -1
  833. data/lib/oci/database/models/info_for_network_gen_details.rb +1 -1
  834. data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +4 -2
  835. data/lib/oci/database/models/launch_db_system_base.rb +6 -4
  836. data/lib/oci/database/models/launch_db_system_details.rb +1 -1
  837. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +1 -1
  838. data/lib/oci/database/models/maintenance_run.rb +5 -1
  839. data/lib/oci/database/models/maintenance_run_summary.rb +5 -1
  840. data/lib/oci/database/models/maintenance_window.rb +1 -1
  841. data/lib/oci/database/models/month.rb +1 -1
  842. data/lib/oci/database/models/node_details.rb +2 -2
  843. data/lib/oci/database/models/ocp_us.rb +181 -0
  844. data/lib/oci/database/models/patch.rb +1 -1
  845. data/lib/oci/database/models/patch_details.rb +2 -2
  846. data/lib/oci/database/models/patch_history_entry.rb +1 -1
  847. data/lib/oci/database/models/patch_history_entry_summary.rb +1 -1
  848. data/lib/oci/database/models/patch_summary.rb +1 -1
  849. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +1 -1
  850. data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +1 -1
  851. data/lib/oci/database/models/restore_autonomous_database_details.rb +1 -1
  852. data/lib/oci/database/models/restore_database_details.rb +1 -1
  853. data/lib/oci/database/models/scan_details.rb +1 -1
  854. data/lib/oci/database/models/switchover_data_guard_association_details.rb +1 -1
  855. data/lib/oci/database/models/update_autonomous_container_database_details.rb +15 -2
  856. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +1 -1
  857. data/lib/oci/database/models/update_autonomous_database_details.rb +30 -10
  858. data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +1 -1
  859. data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +4 -2
  860. data/lib/oci/database/models/update_backup_destination_details.rb +1 -1
  861. data/lib/oci/database/models/update_database_details.rb +1 -1
  862. data/lib/oci/database/models/update_db_home_details.rb +2 -2
  863. data/lib/oci/database/models/update_db_system_details.rb +19 -3
  864. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +1 -1
  865. data/lib/oci/database/models/update_maintenance_run_details.rb +1 -1
  866. data/lib/oci/database/models/update_vm_cluster_details.rb +1 -1
  867. data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
  868. data/lib/oci/database/models/vm_cluster.rb +1 -1
  869. data/lib/oci/database/models/vm_cluster_network.rb +1 -1
  870. data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
  871. data/lib/oci/database/models/vm_cluster_network_summary.rb +1 -1
  872. data/lib/oci/database/models/vm_cluster_summary.rb +1 -1
  873. data/lib/oci/database/models/vm_network_details.rb +1 -1
  874. data/lib/oci/database/models/workload_type.rb +160 -0
  875. data/lib/oci/dns/dns.rb +6 -1
  876. data/lib/oci/dns/dns_client.rb +572 -3
  877. data/lib/oci/dns/dns_client_composite_operations.rb +120 -1
  878. data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +1 -1
  879. data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +155 -0
  880. data/lib/oci/dns/models/change_zone_compartment_details.rb +1 -1
  881. data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +1 -1
  882. data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +1 -1
  883. data/lib/oci/dns/models/create_steering_policy_details.rb +1 -1
  884. data/lib/oci/dns/models/create_tsig_key_details.rb +228 -0
  885. data/lib/oci/dns/models/create_zone_base_details.rb +1 -1
  886. data/lib/oci/dns/models/create_zone_details.rb +1 -1
  887. data/lib/oci/dns/models/dynect_migration_details.rb +1 -1
  888. data/lib/oci/dns/models/external_master.rb +22 -5
  889. data/lib/oci/dns/models/migration_replacement.rb +1 -1
  890. data/lib/oci/dns/models/nameserver.rb +1 -1
  891. data/lib/oci/dns/models/patch_domain_records_details.rb +1 -1
  892. data/lib/oci/dns/models/patch_rr_set_details.rb +1 -1
  893. data/lib/oci/dns/models/patch_zone_records_details.rb +1 -1
  894. data/lib/oci/dns/models/record.rb +1 -1
  895. data/lib/oci/dns/models/record_collection.rb +1 -1
  896. data/lib/oci/dns/models/record_details.rb +1 -1
  897. data/lib/oci/dns/models/record_operation.rb +1 -1
  898. data/lib/oci/dns/models/rr_set.rb +1 -1
  899. data/lib/oci/dns/models/sort_order.rb +1 -1
  900. data/lib/oci/dns/models/steering_policy.rb +1 -1
  901. data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
  902. data/lib/oci/dns/models/steering_policy_attachment.rb +1 -1
  903. data/lib/oci/dns/models/steering_policy_attachment_summary.rb +1 -1
  904. data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +1 -1
  905. data/lib/oci/dns/models/steering_policy_filter_rule.rb +1 -1
  906. data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +1 -1
  907. data/lib/oci/dns/models/steering_policy_health_rule.rb +1 -1
  908. data/lib/oci/dns/models/steering_policy_health_rule_case.rb +1 -1
  909. data/lib/oci/dns/models/steering_policy_limit_rule.rb +1 -1
  910. data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +1 -1
  911. data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +1 -1
  912. data/lib/oci/dns/models/steering_policy_priority_rule.rb +1 -1
  913. data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +1 -1
  914. data/lib/oci/dns/models/steering_policy_rule.rb +1 -1
  915. data/lib/oci/dns/models/steering_policy_summary.rb +1 -1
  916. data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +1 -1
  917. data/lib/oci/dns/models/steering_policy_weighted_rule.rb +1 -1
  918. data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +1 -1
  919. data/lib/oci/dns/models/tsig.rb +1 -1
  920. data/lib/oci/dns/models/tsig_key.rb +320 -0
  921. data/lib/oci/dns/models/tsig_key_summary.rb +290 -0
  922. data/lib/oci/dns/models/update_domain_records_details.rb +1 -1
  923. data/lib/oci/dns/models/update_rr_set_details.rb +1 -1
  924. data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +1 -1
  925. data/lib/oci/dns/models/update_steering_policy_details.rb +1 -1
  926. data/lib/oci/dns/models/update_tsig_key_details.rb +180 -0
  927. data/lib/oci/dns/models/update_zone_details.rb +1 -1
  928. data/lib/oci/dns/models/update_zone_records_details.rb +1 -1
  929. data/lib/oci/dns/models/zone.rb +1 -1
  930. data/lib/oci/dns/models/zone_summary.rb +1 -1
  931. data/lib/oci/dts/appliance_export_job_client.rb +495 -0
  932. data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +143 -0
  933. data/lib/oci/dts/dts.rb +8 -1
  934. data/lib/oci/dts/models/appliance_export_job.rb +550 -0
  935. data/lib/oci/dts/models/appliance_export_job_summary.rb +275 -0
  936. data/lib/oci/dts/models/attach_devices_details.rb +1 -1
  937. data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +154 -0
  938. data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +1 -1
  939. data/lib/oci/dts/models/create_appliance_export_job_details.rb +269 -0
  940. data/lib/oci/dts/models/create_transfer_appliance_details.rb +1 -1
  941. data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +9 -5
  942. data/lib/oci/dts/models/create_transfer_device_details.rb +1 -1
  943. data/lib/oci/dts/models/create_transfer_job_details.rb +9 -5
  944. data/lib/oci/dts/models/create_transfer_package_details.rb +1 -1
  945. data/lib/oci/dts/models/detach_devices_details.rb +1 -1
  946. data/lib/oci/dts/models/multiple_transfer_appliances.rb +1 -1
  947. data/lib/oci/dts/models/multiple_transfer_devices.rb +1 -1
  948. data/lib/oci/dts/models/multiple_transfer_packages.rb +1 -1
  949. data/lib/oci/dts/models/new_transfer_device.rb +1 -1
  950. data/lib/oci/dts/models/shipping_address.rb +1 -1
  951. data/lib/oci/dts/models/shipping_vendors.rb +1 -1
  952. data/lib/oci/dts/models/transfer_appliance.rb +1 -1
  953. data/lib/oci/dts/models/transfer_appliance_certificate.rb +1 -1
  954. data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +1 -1
  955. data/lib/oci/dts/models/transfer_appliance_entitlement.rb +9 -5
  956. data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +9 -5
  957. data/lib/oci/dts/models/transfer_appliance_public_key.rb +1 -1
  958. data/lib/oci/dts/models/transfer_appliance_summary.rb +1 -1
  959. data/lib/oci/dts/models/transfer_device.rb +1 -1
  960. data/lib/oci/dts/models/transfer_device_summary.rb +1 -1
  961. data/lib/oci/dts/models/transfer_job.rb +9 -5
  962. data/lib/oci/dts/models/transfer_job_summary.rb +9 -5
  963. data/lib/oci/dts/models/transfer_package.rb +1 -1
  964. data/lib/oci/dts/models/transfer_package_summary.rb +1 -1
  965. data/lib/oci/dts/models/update_appliance_export_job_details.rb +395 -0
  966. data/lib/oci/dts/models/update_transfer_appliance_details.rb +1 -1
  967. data/lib/oci/dts/models/update_transfer_device_details.rb +1 -1
  968. data/lib/oci/dts/models/update_transfer_job_details.rb +9 -5
  969. data/lib/oci/dts/models/update_transfer_package_details.rb +1 -1
  970. data/lib/oci/dts/shipping_vendors_client.rb +1 -1
  971. data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +1 -1
  972. data/lib/oci/dts/transfer_appliance_client.rb +1 -1
  973. data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +1 -1
  974. data/lib/oci/dts/transfer_appliance_entitlement_client.rb +1 -1
  975. data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +1 -1
  976. data/lib/oci/dts/transfer_device_client.rb +1 -1
  977. data/lib/oci/dts/transfer_device_client_composite_operations.rb +1 -1
  978. data/lib/oci/dts/transfer_job_client.rb +33 -5
  979. data/lib/oci/dts/transfer_job_client_composite_operations.rb +1 -1
  980. data/lib/oci/dts/transfer_package_client.rb +1 -1
  981. data/lib/oci/dts/transfer_package_client_composite_operations.rb +1 -1
  982. data/lib/oci/email/email.rb +1 -1
  983. data/lib/oci/email/email_client.rb +1 -1
  984. data/lib/oci/email/email_client_composite_operations.rb +1 -1
  985. data/lib/oci/email/models/change_sender_compartment_details.rb +1 -1
  986. data/lib/oci/email/models/create_sender_details.rb +1 -1
  987. data/lib/oci/email/models/create_suppression_details.rb +1 -1
  988. data/lib/oci/email/models/sender.rb +1 -1
  989. data/lib/oci/email/models/sender_summary.rb +1 -1
  990. data/lib/oci/email/models/suppression.rb +1 -1
  991. data/lib/oci/email/models/suppression_summary.rb +1 -1
  992. data/lib/oci/email/models/update_sender_details.rb +1 -1
  993. data/lib/oci/errors.rb +1 -1
  994. data/lib/oci/events/events.rb +1 -1
  995. data/lib/oci/events/events_client.rb +2 -2
  996. data/lib/oci/events/events_client_composite_operations.rb +1 -1
  997. data/lib/oci/events/models/action.rb +22 -3
  998. data/lib/oci/events/models/action_details.rb +1 -1
  999. data/lib/oci/events/models/action_details_list.rb +1 -1
  1000. data/lib/oci/events/models/action_list.rb +1 -1
  1001. data/lib/oci/events/models/change_rule_compartment_details.rb +1 -1
  1002. data/lib/oci/events/models/create_faa_s_action_details.rb +1 -1
  1003. data/lib/oci/events/models/create_notification_service_action_details.rb +1 -1
  1004. data/lib/oci/events/models/create_rule_details.rb +2 -7
  1005. data/lib/oci/events/models/create_streaming_service_action_details.rb +1 -1
  1006. data/lib/oci/events/models/faa_s_action.rb +6 -2
  1007. data/lib/oci/events/models/notification_service_action.rb +6 -2
  1008. data/lib/oci/events/models/rule.rb +3 -8
  1009. data/lib/oci/events/models/rule_summary.rb +3 -8
  1010. data/lib/oci/events/models/streaming_service_action.rb +6 -2
  1011. data/lib/oci/events/models/update_rule_details.rb +2 -7
  1012. data/lib/oci/file_storage/file_storage.rb +1 -1
  1013. data/lib/oci/file_storage/file_storage_client.rb +68 -60
  1014. data/lib/oci/file_storage/file_storage_client_composite_operations.rb +1 -1
  1015. data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +1 -1
  1016. data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +1 -1
  1017. data/lib/oci/file_storage/models/client_options.rb +1 -1
  1018. data/lib/oci/file_storage/models/create_export_details.rb +1 -1
  1019. data/lib/oci/file_storage/models/create_file_system_details.rb +1 -1
  1020. data/lib/oci/file_storage/models/create_mount_target_details.rb +20 -2
  1021. data/lib/oci/file_storage/models/create_snapshot_details.rb +1 -1
  1022. data/lib/oci/file_storage/models/export.rb +1 -1
  1023. data/lib/oci/file_storage/models/export_set.rb +1 -1
  1024. data/lib/oci/file_storage/models/export_set_summary.rb +1 -1
  1025. data/lib/oci/file_storage/models/export_summary.rb +1 -1
  1026. data/lib/oci/file_storage/models/file_system.rb +2 -2
  1027. data/lib/oci/file_storage/models/file_system_summary.rb +1 -1
  1028. data/lib/oci/file_storage/models/mount_target.rb +20 -2
  1029. data/lib/oci/file_storage/models/mount_target_summary.rb +20 -2
  1030. data/lib/oci/file_storage/models/snapshot.rb +1 -1
  1031. data/lib/oci/file_storage/models/snapshot_summary.rb +1 -1
  1032. data/lib/oci/file_storage/models/update_export_details.rb +1 -1
  1033. data/lib/oci/file_storage/models/update_export_set_details.rb +1 -1
  1034. data/lib/oci/file_storage/models/update_file_system_details.rb +6 -5
  1035. data/lib/oci/file_storage/models/update_mount_target_details.rb +20 -2
  1036. data/lib/oci/file_storage/models/update_snapshot_details.rb +1 -1
  1037. data/lib/oci/functions/functions.rb +1 -1
  1038. data/lib/oci/functions/functions_invoke_client.rb +1 -1
  1039. data/lib/oci/functions/functions_invoke_client_composite_operations.rb +1 -1
  1040. data/lib/oci/functions/functions_management_client.rb +1 -1
  1041. data/lib/oci/functions/functions_management_client_composite_operations.rb +1 -1
  1042. data/lib/oci/functions/models/application.rb +1 -1
  1043. data/lib/oci/functions/models/application_summary.rb +1 -1
  1044. data/lib/oci/functions/models/change_application_compartment_details.rb +1 -1
  1045. data/lib/oci/functions/models/create_application_details.rb +1 -1
  1046. data/lib/oci/functions/models/create_function_details.rb +1 -1
  1047. data/lib/oci/functions/models/function.rb +1 -1
  1048. data/lib/oci/functions/models/function_summary.rb +1 -1
  1049. data/lib/oci/functions/models/update_application_details.rb +1 -1
  1050. data/lib/oci/functions/models/update_function_details.rb +1 -1
  1051. data/lib/oci/global_context.rb +1 -1
  1052. data/lib/oci/healthchecks/health_checks_client.rb +1 -1
  1053. data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +1 -1
  1054. data/lib/oci/healthchecks/healthchecks.rb +1 -1
  1055. data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +1 -1
  1056. data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +1 -1
  1057. data/lib/oci/healthchecks/models/connection.rb +1 -1
  1058. data/lib/oci/healthchecks/models/create_http_monitor_details.rb +1 -1
  1059. data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +1 -1
  1060. data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +1 -1
  1061. data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +1 -1
  1062. data/lib/oci/healthchecks/models/dns.rb +1 -1
  1063. data/lib/oci/healthchecks/models/geolocation.rb +1 -1
  1064. data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +1 -1
  1065. data/lib/oci/healthchecks/models/http_monitor.rb +1 -1
  1066. data/lib/oci/healthchecks/models/http_monitor_summary.rb +1 -1
  1067. data/lib/oci/healthchecks/models/http_probe.rb +1 -1
  1068. data/lib/oci/healthchecks/models/http_probe_method.rb +1 -1
  1069. data/lib/oci/healthchecks/models/http_probe_protocol.rb +1 -1
  1070. data/lib/oci/healthchecks/models/http_probe_result_summary.rb +1 -1
  1071. data/lib/oci/healthchecks/models/ping_monitor.rb +1 -1
  1072. data/lib/oci/healthchecks/models/ping_monitor_summary.rb +1 -1
  1073. data/lib/oci/healthchecks/models/ping_probe.rb +1 -1
  1074. data/lib/oci/healthchecks/models/ping_probe_protocol.rb +1 -1
  1075. data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +1 -1
  1076. data/lib/oci/healthchecks/models/routing.rb +1 -1
  1077. data/lib/oci/healthchecks/models/tcp_connection.rb +1 -1
  1078. data/lib/oci/healthchecks/models/update_http_monitor_details.rb +1 -1
  1079. data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +1 -1
  1080. data/lib/oci/identity/identity.rb +11 -1
  1081. data/lib/oci/identity/identity_client.rb +637 -13
  1082. data/lib/oci/identity/identity_client_composite_operations.rb +40 -1
  1083. data/lib/oci/identity/models/add_user_to_group_details.rb +1 -1
  1084. data/lib/oci/identity/models/api_key.rb +1 -1
  1085. data/lib/oci/identity/models/auth_token.rb +1 -1
  1086. data/lib/oci/identity/models/authentication_policy.rb +1 -1
  1087. data/lib/oci/identity/models/availability_domain.rb +1 -1
  1088. data/lib/oci/identity/models/base_tag_definition_validator.rb +11 -9
  1089. data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +1 -1
  1090. data/lib/oci/identity/models/compartment.rb +1 -1
  1091. data/lib/oci/identity/models/create_api_key_details.rb +1 -1
  1092. data/lib/oci/identity/models/create_auth_token_details.rb +1 -1
  1093. data/lib/oci/identity/models/create_compartment_details.rb +1 -1
  1094. data/lib/oci/identity/models/create_customer_secret_key_details.rb +1 -1
  1095. data/lib/oci/identity/models/create_dynamic_group_details.rb +1 -1
  1096. data/lib/oci/identity/models/create_group_details.rb +1 -1
  1097. data/lib/oci/identity/models/create_identity_provider_details.rb +1 -1
  1098. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +1 -1
  1099. data/lib/oci/identity/models/create_network_source_details.rb +251 -0
  1100. data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +169 -0
  1101. data/lib/oci/identity/models/create_policy_details.rb +1 -1
  1102. data/lib/oci/identity/models/create_region_subscription_details.rb +1 -1
  1103. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +1 -1
  1104. data/lib/oci/identity/models/create_smtp_credential_details.rb +1 -1
  1105. data/lib/oci/identity/models/create_swift_password_details.rb +1 -1
  1106. data/lib/oci/identity/models/create_tag_default_details.rb +1 -1
  1107. data/lib/oci/identity/models/create_tag_details.rb +11 -4
  1108. data/lib/oci/identity/models/create_tag_namespace_details.rb +3 -1
  1109. data/lib/oci/identity/models/create_user_details.rb +1 -1
  1110. data/lib/oci/identity/models/customer_secret_key.rb +1 -1
  1111. data/lib/oci/identity/models/customer_secret_key_summary.rb +1 -1
  1112. data/lib/oci/identity/models/default_tag_definition_validator.rb +4 -3
  1113. data/lib/oci/identity/models/dynamic_group.rb +1 -1
  1114. data/lib/oci/identity/models/enum_tag_definition_validator.rb +4 -3
  1115. data/lib/oci/identity/models/fault_domain.rb +1 -1
  1116. data/lib/oci/identity/models/fully_qualified_scope.rb +159 -0
  1117. data/lib/oci/identity/models/group.rb +1 -1
  1118. data/lib/oci/identity/models/identity_provider.rb +1 -1
  1119. data/lib/oci/identity/models/identity_provider_group_summary.rb +1 -1
  1120. data/lib/oci/identity/models/idp_group_mapping.rb +1 -1
  1121. data/lib/oci/identity/models/mfa_totp_device.rb +1 -1
  1122. data/lib/oci/identity/models/mfa_totp_device_summary.rb +1 -1
  1123. data/lib/oci/identity/models/mfa_totp_token.rb +1 -1
  1124. data/lib/oci/identity/models/move_compartment_details.rb +1 -1
  1125. data/lib/oci/identity/models/network_sources.rb +333 -0
  1126. data/lib/oci/identity/models/network_sources_summary.rb +246 -0
  1127. data/lib/oci/identity/models/network_sources_virtual_source_list.rb +165 -0
  1128. data/lib/oci/identity/models/o_auth2_client_credential.rb +292 -0
  1129. data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +282 -0
  1130. data/lib/oci/identity/models/password_policy.rb +1 -1
  1131. data/lib/oci/identity/models/policy.rb +1 -1
  1132. data/lib/oci/identity/models/region.rb +1 -1
  1133. data/lib/oci/identity/models/region_subscription.rb +1 -1
  1134. data/lib/oci/identity/models/saml2_identity_provider.rb +1 -1
  1135. data/lib/oci/identity/models/scim_client_credentials.rb +1 -1
  1136. data/lib/oci/identity/models/smtp_credential.rb +1 -1
  1137. data/lib/oci/identity/models/smtp_credential_summary.rb +1 -1
  1138. data/lib/oci/identity/models/swift_password.rb +1 -1
  1139. data/lib/oci/identity/models/tag.rb +13 -5
  1140. data/lib/oci/identity/models/tag_default.rb +1 -1
  1141. data/lib/oci/identity/models/tag_default_summary.rb +1 -1
  1142. data/lib/oci/identity/models/tag_namespace.rb +1 -1
  1143. data/lib/oci/identity/models/tag_namespace_summary.rb +1 -1
  1144. data/lib/oci/identity/models/tag_summary.rb +1 -1
  1145. data/lib/oci/identity/models/tagging_work_request.rb +1 -1
  1146. data/lib/oci/identity/models/tagging_work_request_error_summary.rb +1 -1
  1147. data/lib/oci/identity/models/tagging_work_request_log_summary.rb +1 -1
  1148. data/lib/oci/identity/models/tagging_work_request_summary.rb +1 -1
  1149. data/lib/oci/identity/models/tenancy.rb +16 -2
  1150. data/lib/oci/identity/models/ui_password.rb +1 -1
  1151. data/lib/oci/identity/models/ui_password_information.rb +1 -1
  1152. data/lib/oci/identity/models/update_auth_token_details.rb +1 -1
  1153. data/lib/oci/identity/models/update_authentication_policy_details.rb +1 -1
  1154. data/lib/oci/identity/models/update_compartment_details.rb +1 -1
  1155. data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -1
  1156. data/lib/oci/identity/models/update_dynamic_group_details.rb +1 -1
  1157. data/lib/oci/identity/models/update_group_details.rb +1 -1
  1158. data/lib/oci/identity/models/update_identity_provider_details.rb +1 -1
  1159. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +1 -1
  1160. data/lib/oci/identity/models/update_network_source_details.rb +225 -0
  1161. data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +173 -0
  1162. data/lib/oci/identity/models/update_policy_details.rb +1 -1
  1163. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +1 -1
  1164. data/lib/oci/identity/models/update_smtp_credential_details.rb +1 -1
  1165. data/lib/oci/identity/models/update_state_details.rb +1 -1
  1166. data/lib/oci/identity/models/update_swift_password_details.rb +1 -1
  1167. data/lib/oci/identity/models/update_tag_default_details.rb +1 -1
  1168. data/lib/oci/identity/models/update_tag_details.rb +11 -4
  1169. data/lib/oci/identity/models/update_tag_namespace_details.rb +1 -1
  1170. data/lib/oci/identity/models/update_user_capabilities_details.rb +20 -5
  1171. data/lib/oci/identity/models/update_user_details.rb +1 -1
  1172. data/lib/oci/identity/models/user.rb +2 -1
  1173. data/lib/oci/identity/models/user_capabilities.rb +20 -5
  1174. data/lib/oci/identity/models/user_group_membership.rb +1 -1
  1175. data/lib/oci/identity/models/work_request.rb +1 -1
  1176. data/lib/oci/identity/models/work_request_error.rb +1 -1
  1177. data/lib/oci/identity/models/work_request_log_entry.rb +1 -1
  1178. data/lib/oci/identity/models/work_request_resource.rb +1 -1
  1179. data/lib/oci/identity/models/work_request_summary.rb +1 -1
  1180. data/lib/oci/integration/integration.rb +1 -1
  1181. data/lib/oci/integration/integration_instance_client.rb +1 -1
  1182. data/lib/oci/integration/integration_instance_client_composite_operations.rb +1 -1
  1183. data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +1 -1
  1184. data/lib/oci/integration/models/create_integration_instance_details.rb +1 -1
  1185. data/lib/oci/integration/models/integration_instance.rb +1 -1
  1186. data/lib/oci/integration/models/integration_instance_summary.rb +1 -1
  1187. data/lib/oci/integration/models/update_integration_instance_details.rb +1 -1
  1188. data/lib/oci/integration/models/work_request.rb +1 -1
  1189. data/lib/oci/integration/models/work_request_error.rb +1 -1
  1190. data/lib/oci/integration/models/work_request_log_entry.rb +1 -1
  1191. data/lib/oci/integration/models/work_request_resource.rb +1 -1
  1192. data/lib/oci/integration/models/work_request_summary.rb +1 -1
  1193. data/lib/oci/key_management/key_management.rb +7 -1
  1194. data/lib/oci/key_management/kms_crypto_client.rb +4 -5
  1195. data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +1 -1
  1196. data/lib/oci/key_management/kms_management_client.rb +438 -20
  1197. data/lib/oci/key_management/kms_management_client_composite_operations.rb +121 -1
  1198. data/lib/oci/key_management/kms_vault_client.rb +113 -18
  1199. data/lib/oci/key_management/kms_vault_client_composite_operations.rb +1 -1
  1200. data/lib/oci/key_management/models/change_key_compartment_details.rb +2 -2
  1201. data/lib/oci/key_management/models/change_vault_compartment_details.rb +2 -2
  1202. data/lib/oci/key_management/models/create_key_details.rb +8 -7
  1203. data/lib/oci/key_management/models/create_vault_details.rb +9 -7
  1204. data/lib/oci/key_management/models/decrypt_data_details.rb +5 -6
  1205. data/lib/oci/key_management/models/decrypted_data.rb +1 -1
  1206. data/lib/oci/key_management/models/encrypt_data_details.rb +4 -4
  1207. data/lib/oci/key_management/models/encrypted_data.rb +1 -1
  1208. data/lib/oci/key_management/models/generate_key_details.rb +6 -6
  1209. data/lib/oci/key_management/models/generated_key.rb +8 -9
  1210. data/lib/oci/key_management/models/import_key_details.rb +230 -0
  1211. data/lib/oci/key_management/models/import_key_version_details.rb +186 -0
  1212. data/lib/oci/key_management/models/key.rb +12 -11
  1213. data/lib/oci/key_management/models/key_shape.rb +3 -2
  1214. data/lib/oci/key_management/models/key_summary.rb +7 -6
  1215. data/lib/oci/key_management/models/key_version.rb +92 -2
  1216. data/lib/oci/key_management/models/key_version_summary.rb +93 -3
  1217. data/lib/oci/key_management/models/schedule_key_deletion_details.rb +7 -5
  1218. data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +156 -0
  1219. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +7 -5
  1220. data/lib/oci/key_management/models/update_key_details.rb +7 -6
  1221. data/lib/oci/key_management/models/update_vault_details.rb +7 -6
  1222. data/lib/oci/key_management/models/vault.rb +34 -14
  1223. data/lib/oci/key_management/models/vault_summary.rb +15 -9
  1224. data/lib/oci/key_management/models/vault_usage.rb +167 -0
  1225. data/lib/oci/key_management/models/wrapped_import_key.rb +179 -0
  1226. data/lib/oci/key_management/models/wrapping_key.rb +248 -0
  1227. data/lib/oci/limits/limits.rb +1 -1
  1228. data/lib/oci/limits/limits_client.rb +1 -1
  1229. data/lib/oci/limits/limits_client_composite_operations.rb +1 -1
  1230. data/lib/oci/limits/models/create_quota_details.rb +1 -1
  1231. data/lib/oci/limits/models/limit_definition_summary.rb +1 -1
  1232. data/lib/oci/limits/models/limit_value_summary.rb +1 -1
  1233. data/lib/oci/limits/models/quota.rb +1 -1
  1234. data/lib/oci/limits/models/quota_summary.rb +1 -1
  1235. data/lib/oci/limits/models/resource_availability.rb +1 -1
  1236. data/lib/oci/limits/models/service_summary.rb +1 -1
  1237. data/lib/oci/limits/models/update_quota_details.rb +1 -1
  1238. data/lib/oci/limits/quotas_client.rb +1 -1
  1239. data/lib/oci/limits/quotas_client_composite_operations.rb +1 -1
  1240. data/lib/oci/load_balancer/load_balancer.rb +4 -1
  1241. data/lib/oci/load_balancer/load_balancer_client.rb +1 -1
  1242. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +1 -1
  1243. data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +1 -1
  1244. data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +1 -1
  1245. data/lib/oci/load_balancer/models/allow_rule.rb +1 -1
  1246. data/lib/oci/load_balancer/models/backend.rb +1 -1
  1247. data/lib/oci/load_balancer/models/backend_details.rb +1 -1
  1248. data/lib/oci/load_balancer/models/backend_health.rb +1 -1
  1249. data/lib/oci/load_balancer/models/backend_set.rb +1 -1
  1250. data/lib/oci/load_balancer/models/backend_set_details.rb +1 -1
  1251. data/lib/oci/load_balancer/models/backend_set_health.rb +1 -1
  1252. data/lib/oci/load_balancer/models/certificate.rb +1 -1
  1253. data/lib/oci/load_balancer/models/certificate_details.rb +1 -1
  1254. data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +1 -1
  1255. data/lib/oci/load_balancer/models/connection_configuration.rb +22 -5
  1256. data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +1 -1
  1257. data/lib/oci/load_balancer/models/create_backend_details.rb +1 -1
  1258. data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
  1259. data/lib/oci/load_balancer/models/create_certificate_details.rb +1 -1
  1260. data/lib/oci/load_balancer/models/create_hostname_details.rb +1 -1
  1261. data/lib/oci/load_balancer/models/create_listener_details.rb +1 -1
  1262. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +1 -1
  1263. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
  1264. data/lib/oci/load_balancer/models/create_rule_set_details.rb +1 -1
  1265. data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +1 -1
  1266. data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +1 -1
  1267. data/lib/oci/load_balancer/models/health_check_result.rb +1 -1
  1268. data/lib/oci/load_balancer/models/health_checker.rb +1 -1
  1269. data/lib/oci/load_balancer/models/health_checker_details.rb +1 -1
  1270. data/lib/oci/load_balancer/models/hostname.rb +1 -1
  1271. data/lib/oci/load_balancer/models/hostname_details.rb +1 -1
  1272. data/lib/oci/load_balancer/models/ip_address.rb +1 -1
  1273. data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +1 -1
  1274. data/lib/oci/load_balancer/models/listener.rb +1 -1
  1275. data/lib/oci/load_balancer/models/listener_details.rb +1 -1
  1276. data/lib/oci/load_balancer/models/listener_rule_summary.rb +1 -1
  1277. data/lib/oci/load_balancer/models/load_balancer.rb +1 -1
  1278. data/lib/oci/load_balancer/models/load_balancer_health.rb +1 -1
  1279. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +1 -1
  1280. data/lib/oci/load_balancer/models/load_balancer_policy.rb +1 -1
  1281. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +1 -1
  1282. data/lib/oci/load_balancer/models/load_balancer_shape.rb +1 -1
  1283. data/lib/oci/load_balancer/models/path_match_condition.rb +210 -0
  1284. data/lib/oci/load_balancer/models/path_match_type.rb +1 -1
  1285. data/lib/oci/load_balancer/models/path_route.rb +1 -1
  1286. data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
  1287. data/lib/oci/load_balancer/models/path_route_set_details.rb +1 -1
  1288. data/lib/oci/load_balancer/models/redirect_rule.rb +212 -0
  1289. data/lib/oci/load_balancer/models/redirect_uri.rb +323 -0
  1290. data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +1 -1
  1291. data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +1 -1
  1292. data/lib/oci/load_balancer/models/rule.rb +3 -1
  1293. data/lib/oci/load_balancer/models/rule_condition.rb +3 -1
  1294. data/lib/oci/load_balancer/models/rule_set.rb +1 -1
  1295. data/lib/oci/load_balancer/models/rule_set_details.rb +1 -1
  1296. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +1 -1
  1297. data/lib/oci/load_balancer/models/source_ip_address_condition.rb +1 -1
  1298. data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +1 -1
  1299. data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +1 -1
  1300. data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
  1301. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
  1302. data/lib/oci/load_balancer/models/update_backend_details.rb +1 -1
  1303. data/lib/oci/load_balancer/models/update_backend_set_details.rb +1 -1
  1304. data/lib/oci/load_balancer/models/update_health_checker_details.rb +1 -1
  1305. data/lib/oci/load_balancer/models/update_hostname_details.rb +1 -1
  1306. data/lib/oci/load_balancer/models/update_listener_details.rb +1 -1
  1307. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
  1308. data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +1 -1
  1309. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +1 -1
  1310. data/lib/oci/load_balancer/models/update_rule_set_details.rb +1 -1
  1311. data/lib/oci/load_balancer/models/work_request.rb +1 -1
  1312. data/lib/oci/load_balancer/models/work_request_error.rb +1 -1
  1313. data/lib/oci/marketplace/marketplace.rb +50 -0
  1314. data/lib/oci/marketplace/marketplace_client.rb +1009 -0
  1315. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +24 -0
  1316. data/lib/oci/marketplace/models/accepted_agreement.rb +270 -0
  1317. data/lib/oci/marketplace/models/accepted_agreement_summary.rb +233 -0
  1318. data/lib/oci/marketplace/models/agreement.rb +229 -0
  1319. data/lib/oci/marketplace/models/agreement_summary.rb +204 -0
  1320. data/lib/oci/marketplace/models/category_summary.rb +149 -0
  1321. data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +258 -0
  1322. data/lib/oci/marketplace/models/documentation_link.rb +173 -0
  1323. data/lib/oci/marketplace/models/error_entity.rb +159 -0
  1324. data/lib/oci/marketplace/models/image_listing_package.rb +209 -0
  1325. data/lib/oci/marketplace/models/item.rb +159 -0
  1326. data/lib/oci/marketplace/models/link.rb +182 -0
  1327. data/lib/oci/marketplace/models/link_enum.rb +13 -0
  1328. data/lib/oci/marketplace/models/listing.rb +478 -0
  1329. data/lib/oci/marketplace/models/listing_package.rb +265 -0
  1330. data/lib/oci/marketplace/models/listing_package_summary.rb +233 -0
  1331. data/lib/oci/marketplace/models/listing_summary.rb +300 -0
  1332. data/lib/oci/marketplace/models/named_link.rb +159 -0
  1333. data/lib/oci/marketplace/models/orchestration_listing_package.rb +195 -0
  1334. data/lib/oci/marketplace/models/orchestration_variable.rb +237 -0
  1335. data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +10 -0
  1336. data/lib/oci/marketplace/models/package_type_enum.rb +10 -0
  1337. data/lib/oci/marketplace/models/pricing_currency_enum.rb +9 -0
  1338. data/lib/oci/marketplace/models/pricing_model.rb +243 -0
  1339. data/lib/oci/marketplace/models/pricing_strategy_enum.rb +12 -0
  1340. data/lib/oci/marketplace/models/pricing_type_enum.rb +11 -0
  1341. data/lib/oci/marketplace/models/publisher.rb +258 -0
  1342. data/lib/oci/marketplace/models/publisher_summary.rb +169 -0
  1343. data/lib/oci/marketplace/models/region.rb +169 -0
  1344. data/lib/oci/marketplace/models/screenshot.rb +201 -0
  1345. data/lib/oci/marketplace/models/support_contact.rb +179 -0
  1346. data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +190 -0
  1347. data/lib/oci/marketplace/models/upload_data.rb +191 -0
  1348. data/lib/oci/marketplace/util.rb +2 -0
  1349. data/lib/oci/monitoring/models/aggregated_datapoint.rb +1 -1
  1350. data/lib/oci/monitoring/models/alarm.rb +1 -1
  1351. data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
  1352. data/lib/oci/monitoring/models/alarm_history_entry.rb +1 -1
  1353. data/lib/oci/monitoring/models/alarm_status_summary.rb +1 -1
  1354. data/lib/oci/monitoring/models/alarm_summary.rb +1 -1
  1355. data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +1 -1
  1356. data/lib/oci/monitoring/models/create_alarm_details.rb +1 -1
  1357. data/lib/oci/monitoring/models/datapoint.rb +1 -1
  1358. data/lib/oci/monitoring/models/failed_metric_record.rb +1 -1
  1359. data/lib/oci/monitoring/models/list_metrics_details.rb +1 -1
  1360. data/lib/oci/monitoring/models/metric.rb +1 -1
  1361. data/lib/oci/monitoring/models/metric_data.rb +1 -1
  1362. data/lib/oci/monitoring/models/metric_data_details.rb +1 -1
  1363. data/lib/oci/monitoring/models/post_metric_data_details.rb +1 -1
  1364. data/lib/oci/monitoring/models/post_metric_data_response_details.rb +1 -1
  1365. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +1 -1
  1366. data/lib/oci/monitoring/models/suppression.rb +1 -1
  1367. data/lib/oci/monitoring/models/update_alarm_details.rb +1 -1
  1368. data/lib/oci/monitoring/monitoring.rb +1 -1
  1369. data/lib/oci/monitoring/monitoring_client.rb +1 -1
  1370. data/lib/oci/monitoring/monitoring_client_composite_operations.rb +1 -1
  1371. data/lib/oci/nosql/models/change_table_compartment_details.rb +172 -0
  1372. data/lib/oci/nosql/models/column.rb +187 -0
  1373. data/lib/oci/nosql/models/create_index_details.rb +195 -0
  1374. data/lib/oci/nosql/models/create_table_details.rb +225 -0
  1375. data/lib/oci/nosql/models/delete_row_result.rb +193 -0
  1376. data/lib/oci/nosql/models/index.rb +254 -0
  1377. data/lib/oci/nosql/models/index_collection.rb +149 -0
  1378. data/lib/oci/nosql/models/index_key.rb +186 -0
  1379. data/lib/oci/nosql/models/index_summary.rb +188 -0
  1380. data/lib/oci/nosql/models/prepared_statement.rb +160 -0
  1381. data/lib/oci/nosql/models/query_details.rb +245 -0
  1382. data/lib/oci/nosql/models/query_result_collection.rb +158 -0
  1383. data/lib/oci/nosql/models/request_usage.rb +167 -0
  1384. data/lib/oci/nosql/models/row.rb +175 -0
  1385. data/lib/oci/nosql/models/schema.rb +187 -0
  1386. data/lib/oci/nosql/models/statement_summary.rb +247 -0
  1387. data/lib/oci/nosql/models/table.rb +328 -0
  1388. data/lib/oci/nosql/models/table_collection.rb +149 -0
  1389. data/lib/oci/nosql/models/table_limits.rb +181 -0
  1390. data/lib/oci/nosql/models/table_summary.rb +281 -0
  1391. data/lib/oci/nosql/models/table_usage_collection.rb +149 -0
  1392. data/lib/oci/nosql/models/table_usage_summary.rb +247 -0
  1393. data/lib/oci/nosql/models/update_row_details.rb +284 -0
  1394. data/lib/oci/nosql/models/update_row_result.rb +207 -0
  1395. data/lib/oci/nosql/models/update_table_details.rb +219 -0
  1396. data/lib/oci/nosql/models/work_request.rb +305 -0
  1397. data/lib/oci/nosql/models/work_request_collection.rb +149 -0
  1398. data/lib/oci/nosql/models/work_request_error.rb +173 -0
  1399. data/lib/oci/nosql/models/work_request_error_collection.rb +149 -0
  1400. data/lib/oci/nosql/models/work_request_log_entry.rb +159 -0
  1401. data/lib/oci/nosql/models/work_request_log_entry_collection.rb +149 -0
  1402. data/lib/oci/nosql/models/work_request_resource.rb +219 -0
  1403. data/lib/oci/nosql/models/work_request_summary.rb +305 -0
  1404. data/lib/oci/nosql/nosql.rb +52 -0
  1405. data/lib/oci/nosql/nosql_client.rb +1559 -0
  1406. data/lib/oci/nosql/nosql_client_composite_operations.rb +371 -0
  1407. data/lib/oci/nosql/util.rb +2 -0
  1408. data/lib/oci/object_storage/models/bucket.rb +55 -10
  1409. data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
  1410. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +1 -1
  1411. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +1 -1
  1412. data/lib/oci/object_storage/models/copy_object_details.rb +1 -1
  1413. data/lib/oci/object_storage/models/create_bucket_details.rb +8 -5
  1414. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +54 -5
  1415. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +2 -2
  1416. data/lib/oci/object_storage/models/create_replication_policy_details.rb +179 -0
  1417. data/lib/oci/object_storage/models/create_retention_rule_details.rb +177 -0
  1418. data/lib/oci/object_storage/models/duration.rb +192 -0
  1419. data/lib/oci/object_storage/models/list_objects.rb +2 -2
  1420. data/lib/oci/object_storage/models/multipart_upload.rb +2 -2
  1421. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +1 -1
  1422. data/lib/oci/object_storage/models/namespace_metadata.rb +1 -1
  1423. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +2 -2
  1424. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +2 -3
  1425. data/lib/oci/object_storage/models/object_name_filter.rb +1 -1
  1426. data/lib/oci/object_storage/models/object_summary.rb +16 -6
  1427. data/lib/oci/object_storage/models/pattern_details.rb +1 -1
  1428. data/lib/oci/object_storage/models/preauthenticated_request.rb +4 -3
  1429. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -3
  1430. data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +1 -1
  1431. data/lib/oci/object_storage/models/rename_object_details.rb +1 -1
  1432. data/lib/oci/object_storage/models/replication_policy.rb +262 -0
  1433. data/lib/oci/object_storage/models/replication_policy_summary.rb +265 -0
  1434. data/lib/oci/object_storage/models/replication_source.rb +181 -0
  1435. data/lib/oci/object_storage/models/restore_objects_details.rb +1 -1
  1436. data/lib/oci/object_storage/models/retention_rule.rb +226 -0
  1437. data/lib/oci/object_storage/models/retention_rule_collection.rb +150 -0
  1438. data/lib/oci/object_storage/models/retention_rule_details.rb +180 -0
  1439. data/lib/oci/object_storage/models/retention_rule_summary.rb +223 -0
  1440. data/lib/oci/object_storage/models/update_bucket_details.rb +10 -8
  1441. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +1 -1
  1442. data/lib/oci/object_storage/models/update_retention_rule_details.rb +177 -0
  1443. data/lib/oci/object_storage/models/work_request.rb +6 -6
  1444. data/lib/oci/object_storage/models/work_request_error.rb +1 -1
  1445. data/lib/oci/object_storage/models/work_request_log_entry.rb +2 -2
  1446. data/lib/oci/object_storage/models/work_request_resource.rb +1 -1
  1447. data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +1 -1
  1448. data/lib/oci/object_storage/models/work_request_summary.rb +6 -6
  1449. data/lib/oci/object_storage/object_storage.rb +12 -1
  1450. data/lib/oci/object_storage/object_storage_client.rb +893 -170
  1451. data/lib/oci/object_storage/object_storage_client_composite_operations.rb +1 -1
  1452. data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +1 -1
  1453. data/lib/oci/oce/models/create_oce_instance_details.rb +99 -2
  1454. data/lib/oci/oce/models/identity_stripe_details.rb +167 -0
  1455. data/lib/oci/oce/models/oce_instance.rb +130 -2
  1456. data/lib/oci/oce/models/oce_instance_summary.rb +98 -2
  1457. data/lib/oci/oce/models/update_oce_instance_details.rb +16 -2
  1458. data/lib/oci/oce/models/work_request.rb +1 -1
  1459. data/lib/oci/oce/models/work_request_error.rb +1 -1
  1460. data/lib/oci/oce/models/work_request_log_entry.rb +1 -1
  1461. data/lib/oci/oce/models/work_request_resource.rb +2 -1
  1462. data/lib/oci/oce/models/workflow_monitor.rb +1 -1
  1463. data/lib/oci/oce/models/workflow_step.rb +1 -1
  1464. data/lib/oci/oce/oce.rb +2 -2
  1465. data/lib/oci/oce/oce_instance_client.rb +3 -5
  1466. data/lib/oci/oce/oce_instance_client_composite_operations.rb +3 -4
  1467. data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +1 -1
  1468. data/lib/oci/oda/models/create_oda_instance_details.rb +1 -1
  1469. data/lib/oci/oda/models/error_body.rb +1 -1
  1470. data/lib/oci/oda/models/oda_instance.rb +1 -1
  1471. data/lib/oci/oda/models/oda_instance_summary.rb +1 -1
  1472. data/lib/oci/oda/models/update_oda_instance_details.rb +1 -1
  1473. data/lib/oci/oda/models/work_request.rb +3 -1
  1474. data/lib/oci/oda/models/work_request_error.rb +1 -1
  1475. data/lib/oci/oda/models/work_request_log_entry.rb +1 -1
  1476. data/lib/oci/oda/models/work_request_resource.rb +3 -1
  1477. data/lib/oci/oda/models/work_request_summary.rb +3 -1
  1478. data/lib/oci/oda/oda.rb +1 -1
  1479. data/lib/oci/oda/oda_client.rb +144 -1
  1480. data/lib/oci/oda/oda_client_composite_operations.rb +99 -1
  1481. data/lib/oci/ons/models/backoff_retry_policy.rb +1 -1
  1482. data/lib/oci/ons/models/change_compartment_details.rb +1 -1
  1483. data/lib/oci/ons/models/confirmation_result.rb +1 -1
  1484. data/lib/oci/ons/models/create_subscription_details.rb +2 -1
  1485. data/lib/oci/ons/models/create_topic_details.rb +1 -1
  1486. data/lib/oci/ons/models/delivery_policy.rb +1 -1
  1487. data/lib/oci/ons/models/message_details.rb +1 -1
  1488. data/lib/oci/ons/models/notification_topic.rb +2 -2
  1489. data/lib/oci/ons/models/notification_topic_summary.rb +2 -2
  1490. data/lib/oci/ons/models/publish_result.rb +1 -1
  1491. data/lib/oci/ons/models/subscription.rb +1 -1
  1492. data/lib/oci/ons/models/subscription_summary.rb +1 -1
  1493. data/lib/oci/ons/models/topic_attributes_details.rb +1 -1
  1494. data/lib/oci/ons/models/update_subscription_details.rb +1 -1
  1495. data/lib/oci/ons/notification_control_plane_client.rb +2 -2
  1496. data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +1 -1
  1497. data/lib/oci/ons/notification_data_plane_client.rb +11 -3
  1498. data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +1 -1
  1499. data/lib/oci/ons/ons.rb +1 -1
  1500. data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +153 -0
  1501. data/lib/oci/os_management/models/api_error.rb +161 -0
  1502. data/lib/oci/os_management/models/arch_types.rb +13 -0
  1503. data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +153 -0
  1504. data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +153 -0
  1505. data/lib/oci/os_management/models/available_software_source_summary.rb +205 -0
  1506. data/lib/oci/os_management/models/available_update_summary.rb +284 -0
  1507. data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +155 -0
  1508. data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +155 -0
  1509. data/lib/oci/os_management/models/change_software_source_compartment_details.rb +155 -0
  1510. data/lib/oci/os_management/models/checksum_types.rb +12 -0
  1511. data/lib/oci/os_management/models/create_managed_instance_group_details.rb +209 -0
  1512. data/lib/oci/os_management/models/create_scheduled_job_details.rb +399 -0
  1513. data/lib/oci/os_management/models/create_software_source_details.rb +324 -0
  1514. data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +153 -0
  1515. data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +153 -0
  1516. data/lib/oci/os_management/models/errata_id.rb +159 -0
  1517. data/lib/oci/os_management/models/erratum.rb +330 -0
  1518. data/lib/oci/os_management/models/erratum_summary.rb +245 -0
  1519. data/lib/oci/os_management/models/id.rb +163 -0
  1520. data/lib/oci/os_management/models/installable_package_summary.rb +207 -0
  1521. data/lib/oci/os_management/models/installed_package_summary.rb +221 -0
  1522. data/lib/oci/os_management/models/interval_types.rb +12 -0
  1523. data/lib/oci/os_management/models/lifecycle_states.rb +14 -0
  1524. data/lib/oci/os_management/models/managed_instance.rb +347 -0
  1525. data/lib/oci/os_management/models/managed_instance_group.rb +271 -0
  1526. data/lib/oci/os_management/models/managed_instance_group_summary.rb +271 -0
  1527. data/lib/oci/os_management/models/managed_instance_summary.rb +261 -0
  1528. data/lib/oci/os_management/models/managed_instance_update_details.rb +163 -0
  1529. data/lib/oci/os_management/models/operation_status.rb +14 -0
  1530. data/lib/oci/os_management/models/operation_types.rb +12 -0
  1531. data/lib/oci/os_management/models/package_name.rb +149 -0
  1532. data/lib/oci/os_management/models/package_update_types.rb +12 -0
  1533. data/lib/oci/os_management/models/recurrence.rb +182 -0
  1534. data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +153 -0
  1535. data/lib/oci/os_management/models/schedule_types.rb +10 -0
  1536. data/lib/oci/os_management/models/scheduled_job.rb +493 -0
  1537. data/lib/oci/os_management/models/scheduled_job_summary.rb +371 -0
  1538. data/lib/oci/os_management/models/software_package.rb +289 -0
  1539. data/lib/oci/os_management/models/software_package_dependency.rb +177 -0
  1540. data/lib/oci/os_management/models/software_package_file.rb +213 -0
  1541. data/lib/oci/os_management/models/software_package_search_summary.rb +262 -0
  1542. data/lib/oci/os_management/models/software_package_summary.rb +217 -0
  1543. data/lib/oci/os_management/models/software_source.rb +519 -0
  1544. data/lib/oci/os_management/models/software_source_id.rb +159 -0
  1545. data/lib/oci/os_management/models/software_source_summary.rb +340 -0
  1546. data/lib/oci/os_management/models/updatable_package_summary.rb +239 -0
  1547. data/lib/oci/os_management/models/update_managed_instance_group_details.rb +195 -0
  1548. data/lib/oci/os_management/models/update_scheduled_job_details.rb +351 -0
  1549. data/lib/oci/os_management/models/update_software_source_details.rb +266 -0
  1550. data/lib/oci/os_management/models/update_types.rb +11 -0
  1551. data/lib/oci/os_management/models/work_request.rb +327 -0
  1552. data/lib/oci/os_management/models/work_request_error.rb +172 -0
  1553. data/lib/oci/os_management/models/work_request_log_entry.rb +161 -0
  1554. data/lib/oci/os_management/models/work_request_resource.rb +231 -0
  1555. data/lib/oci/os_management/models/work_request_summary.rb +286 -0
  1556. data/lib/oci/os_management/os_management.rb +75 -0
  1557. data/lib/oci/os_management/os_management_client.rb +3298 -0
  1558. data/lib/oci/os_management/os_management_client_composite_operations.rb +580 -0
  1559. data/lib/oci/os_management/util.rb +2 -0
  1560. data/lib/oci/regions.rb +21 -2
  1561. data/lib/oci/resource_manager/models/apply_job_operation_details.rb +1 -1
  1562. data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +1 -1
  1563. data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +1 -1
  1564. data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +1 -1
  1565. data/lib/oci/resource_manager/models/config_source.rb +1 -1
  1566. data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +1 -1
  1567. data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -1
  1568. data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +1 -1
  1569. data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +1 -1
  1570. data/lib/oci/resource_manager/models/create_job_details.rb +1 -1
  1571. data/lib/oci/resource_manager/models/create_job_operation_details.rb +1 -1
  1572. data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +1 -1
  1573. data/lib/oci/resource_manager/models/create_stack_details.rb +1 -1
  1574. data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +1 -1
  1575. data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +1 -1
  1576. data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +1 -1
  1577. data/lib/oci/resource_manager/models/failure_details.rb +1 -1
  1578. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +1 -1
  1579. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +1 -1
  1580. data/lib/oci/resource_manager/models/job.rb +1 -1
  1581. data/lib/oci/resource_manager/models/job_operation_details.rb +1 -1
  1582. data/lib/oci/resource_manager/models/job_operation_details_summary.rb +1 -1
  1583. data/lib/oci/resource_manager/models/job_summary.rb +1 -1
  1584. data/lib/oci/resource_manager/models/log_entry.rb +1 -1
  1585. data/lib/oci/resource_manager/models/plan_job_operation_details.rb +1 -1
  1586. data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +1 -1
  1587. data/lib/oci/resource_manager/models/stack.rb +1 -1
  1588. data/lib/oci/resource_manager/models/stack_summary.rb +1 -1
  1589. data/lib/oci/resource_manager/models/terraform_version_collection.rb +1 -1
  1590. data/lib/oci/resource_manager/models/terraform_version_summary.rb +1 -1
  1591. data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -1
  1592. data/lib/oci/resource_manager/models/update_job_details.rb +1 -1
  1593. data/lib/oci/resource_manager/models/update_stack_details.rb +1 -1
  1594. data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +1 -1
  1595. data/lib/oci/resource_manager/models/work_request.rb +1 -1
  1596. data/lib/oci/resource_manager/models/work_request_error.rb +1 -1
  1597. data/lib/oci/resource_manager/models/work_request_log_entry.rb +1 -1
  1598. data/lib/oci/resource_manager/models/work_request_resource.rb +1 -1
  1599. data/lib/oci/resource_manager/models/work_request_summary.rb +1 -1
  1600. data/lib/oci/resource_manager/models/zip_upload_config_source.rb +1 -1
  1601. data/lib/oci/resource_manager/resource_manager.rb +1 -1
  1602. data/lib/oci/resource_manager/resource_manager_client.rb +1 -1
  1603. data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +1 -1
  1604. data/lib/oci/resource_search/models/free_text_search_details.rb +1 -1
  1605. data/lib/oci/resource_search/models/queryable_field_description.rb +3 -3
  1606. data/lib/oci/resource_search/models/resource_summary.rb +49 -11
  1607. data/lib/oci/resource_search/models/resource_summary_collection.rb +2 -2
  1608. data/lib/oci/resource_search/models/resource_type.rb +1 -1
  1609. data/lib/oci/resource_search/models/search_context.rb +2 -2
  1610. data/lib/oci/resource_search/models/search_details.rb +3 -3
  1611. data/lib/oci/resource_search/models/structured_search_details.rb +4 -2
  1612. data/lib/oci/resource_search/resource_search.rb +1 -1
  1613. data/lib/oci/resource_search/resource_search_client.rb +3 -3
  1614. data/lib/oci/resource_search/resource_search_client_composite_operations.rb +1 -1
  1615. data/lib/oci/response.rb +1 -1
  1616. data/lib/oci/response_headers.rb +1 -1
  1617. data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +157 -0
  1618. data/lib/oci/secrets/models/secret_bundle.rb +293 -0
  1619. data/lib/oci/secrets/models/secret_bundle_content_details.rb +188 -0
  1620. data/lib/oci/secrets/models/secret_bundle_version_summary.rb +269 -0
  1621. data/lib/oci/secrets/secrets.rb +22 -0
  1622. data/lib/oci/secrets/secrets_client.rb +259 -0
  1623. data/lib/oci/secrets/secrets_client_composite_operations.rb +24 -0
  1624. data/lib/oci/secrets/util.rb +2 -0
  1625. data/lib/oci/signer.rb +1 -1
  1626. data/lib/oci/streaming/models/archiver.rb +4 -5
  1627. data/lib/oci/streaming/models/archiver_error.rb +1 -1
  1628. data/lib/oci/streaming/models/archiver_start_position.rb +1 -1
  1629. data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +155 -0
  1630. data/lib/oci/streaming/models/change_stream_compartment_details.rb +1 -1
  1631. data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +155 -0
  1632. data/lib/oci/streaming/models/connect_harness.rb +280 -0
  1633. data/lib/oci/streaming/models/connect_harness_summary.rb +266 -0
  1634. data/lib/oci/streaming/models/create_archiver_details.rb +1 -1
  1635. data/lib/oci/streaming/models/create_connect_harness_details.rb +201 -0
  1636. data/lib/oci/streaming/models/create_cursor_details.rb +1 -1
  1637. data/lib/oci/streaming/models/create_group_cursor_details.rb +1 -1
  1638. data/lib/oci/streaming/models/create_stream_details.rb +17 -3
  1639. data/lib/oci/streaming/models/create_stream_pool_details.rb +240 -0
  1640. data/lib/oci/streaming/models/cursor.rb +1 -1
  1641. data/lib/oci/streaming/models/custom_encryption_key.rb +191 -0
  1642. data/lib/oci/streaming/models/custom_encryption_key_details.rb +153 -0
  1643. data/lib/oci/streaming/models/group.rb +3 -3
  1644. data/lib/oci/streaming/models/kafka_settings.rb +195 -0
  1645. data/lib/oci/streaming/models/message.rb +1 -1
  1646. data/lib/oci/streaming/models/partition_reservation.rb +1 -1
  1647. data/lib/oci/streaming/models/private_endpoint_details.rb +192 -0
  1648. data/lib/oci/streaming/models/private_endpoint_settings.rb +185 -0
  1649. data/lib/oci/streaming/models/put_messages_details.rb +1 -1
  1650. data/lib/oci/streaming/models/put_messages_details_entry.rb +1 -1
  1651. data/lib/oci/streaming/models/put_messages_result.rb +2 -2
  1652. data/lib/oci/streaming/models/put_messages_result_entry.rb +1 -1
  1653. data/lib/oci/streaming/models/stream.rb +19 -2
  1654. data/lib/oci/streaming/models/stream_pool.rb +351 -0
  1655. data/lib/oci/streaming/models/stream_pool_summary.rb +279 -0
  1656. data/lib/oci/streaming/models/stream_summary.rb +19 -2
  1657. data/lib/oci/streaming/models/update_archiver_details.rb +1 -1
  1658. data/lib/oci/streaming/models/update_connect_harness_details.rb +174 -0
  1659. data/lib/oci/streaming/models/update_group_details.rb +1 -1
  1660. data/lib/oci/streaming/models/update_stream_details.rb +17 -2
  1661. data/lib/oci/streaming/models/update_stream_pool_details.rb +209 -0
  1662. data/lib/oci/streaming/stream_admin_client.rb +865 -83
  1663. data/lib/oci/streaming/stream_admin_client_composite_operations.rb +248 -4
  1664. data/lib/oci/streaming/stream_client.rb +22 -40
  1665. data/lib/oci/streaming/stream_client_composite_operations.rb +1 -1
  1666. data/lib/oci/streaming/streaming.rb +16 -2
  1667. data/lib/oci/vault/models/base64_secret_content_details.rb +165 -0
  1668. data/lib/oci/vault/models/change_secret_compartment_details.rb +155 -0
  1669. data/lib/oci/vault/models/create_secret_details.rb +281 -0
  1670. data/lib/oci/vault/models/schedule_secret_deletion_details.rb +154 -0
  1671. data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +155 -0
  1672. data/lib/oci/vault/models/secret.rb +393 -0
  1673. data/lib/oci/vault/models/secret_content_details.rb +220 -0
  1674. data/lib/oci/vault/models/secret_expiry_rule.rb +202 -0
  1675. data/lib/oci/vault/models/secret_reuse_rule.rb +163 -0
  1676. data/lib/oci/vault/models/secret_rule.rb +190 -0
  1677. data/lib/oci/vault/models/secret_summary.rb +352 -0
  1678. data/lib/oci/vault/models/secret_version.rb +304 -0
  1679. data/lib/oci/vault/models/secret_version_summary.rb +304 -0
  1680. data/lib/oci/vault/models/update_secret_details.rb +240 -0
  1681. data/lib/oci/vault/util.rb +2 -0
  1682. data/lib/oci/vault/vault.rb +33 -0
  1683. data/lib/oci/vault/vaults_client.rb +882 -0
  1684. data/lib/oci/vault/vaults_client_composite_operations.rb +103 -0
  1685. data/lib/oci/version.rb +2 -2
  1686. data/lib/oci/waas/models/access_rule.rb +89 -8
  1687. data/lib/oci/waas/models/access_rule_criteria.rb +68 -32
  1688. data/lib/oci/waas/models/add_http_response_header_action.rb +175 -0
  1689. data/lib/oci/waas/models/address_list.rb +1 -1
  1690. data/lib/oci/waas/models/address_list_summary.rb +1 -1
  1691. data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
  1692. data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
  1693. data/lib/oci/waas/models/caching_rule.rb +2 -2
  1694. data/lib/oci/waas/models/caching_rule_criteria.rb +1 -1
  1695. data/lib/oci/waas/models/caching_rule_summary.rb +2 -2
  1696. data/lib/oci/waas/models/captcha.rb +1 -1
  1697. data/lib/oci/waas/models/certificate.rb +1 -1
  1698. data/lib/oci/waas/models/certificate_extensions.rb +1 -1
  1699. data/lib/oci/waas/models/certificate_issuer_name.rb +1 -1
  1700. data/lib/oci/waas/models/certificate_public_key_info.rb +1 -1
  1701. data/lib/oci/waas/models/certificate_subject_name.rb +1 -1
  1702. data/lib/oci/waas/models/certificate_summary.rb +1 -1
  1703. data/lib/oci/waas/models/change_address_list_compartment_details.rb +1 -1
  1704. data/lib/oci/waas/models/change_certificate_compartment_details.rb +1 -1
  1705. data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +1 -1
  1706. data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +1 -1
  1707. data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +1 -1
  1708. data/lib/oci/waas/models/create_address_list_details.rb +2 -2
  1709. data/lib/oci/waas/models/create_certificate_details.rb +1 -1
  1710. data/lib/oci/waas/models/create_custom_protection_rule_details.rb +1 -1
  1711. data/lib/oci/waas/models/create_http_redirect_details.rb +2 -2
  1712. data/lib/oci/waas/models/create_waas_policy_details.rb +1 -1
  1713. data/lib/oci/waas/models/custom_protection_rule.rb +1 -1
  1714. data/lib/oci/waas/models/custom_protection_rule_setting.rb +14 -5
  1715. data/lib/oci/waas/models/custom_protection_rule_summary.rb +1 -1
  1716. data/lib/oci/waas/models/device_fingerprint_challenge.rb +1 -1
  1717. data/lib/oci/waas/models/edge_subnet.rb +1 -1
  1718. data/lib/oci/waas/models/extend_http_response_header_action.rb +177 -0
  1719. data/lib/oci/waas/models/good_bot.rb +1 -1
  1720. data/lib/oci/waas/models/header.rb +2 -2
  1721. data/lib/oci/waas/models/header_manipulation_action.rb +188 -0
  1722. data/lib/oci/waas/models/health_check.rb +345 -0
  1723. data/lib/oci/waas/models/http_redirect.rb +3 -3
  1724. data/lib/oci/waas/models/http_redirect_summary.rb +3 -3
  1725. data/lib/oci/waas/models/http_redirect_target.rb +3 -3
  1726. data/lib/oci/waas/models/human_interaction_challenge.rb +21 -5
  1727. data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +145 -0
  1728. data/lib/oci/waas/models/js_challenge.rb +48 -6
  1729. data/lib/oci/waas/models/lifecycle_states.rb +1 -1
  1730. data/lib/oci/waas/models/load_balancing_method.rb +194 -0
  1731. data/lib/oci/waas/models/origin.rb +1 -1
  1732. data/lib/oci/waas/models/origin_group.rb +1 -1
  1733. data/lib/oci/waas/models/origin_group_origins.rb +1 -1
  1734. data/lib/oci/waas/models/policy_config.rb +62 -5
  1735. data/lib/oci/waas/models/protection_rule.rb +1 -1
  1736. data/lib/oci/waas/models/protection_rule_action.rb +1 -1
  1737. data/lib/oci/waas/models/protection_rule_exclusion.rb +4 -4
  1738. data/lib/oci/waas/models/protection_settings.rb +1 -1
  1739. data/lib/oci/waas/models/purge_cache.rb +1 -1
  1740. data/lib/oci/waas/models/recommendation.rb +1 -1
  1741. data/lib/oci/waas/models/remove_http_response_header_action.rb +162 -0
  1742. data/lib/oci/waas/models/round_robin_load_balancing_method.rb +145 -0
  1743. data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +187 -0
  1744. data/lib/oci/waas/models/threat_feed.rb +1 -1
  1745. data/lib/oci/waas/models/threat_feed_action.rb +1 -1
  1746. data/lib/oci/waas/models/update_address_list_details.rb +2 -2
  1747. data/lib/oci/waas/models/update_certificate_details.rb +1 -1
  1748. data/lib/oci/waas/models/update_custom_protection_rule_details.rb +1 -1
  1749. data/lib/oci/waas/models/update_http_redirect_details.rb +2 -2
  1750. data/lib/oci/waas/models/update_waas_policy_details.rb +1 -1
  1751. data/lib/oci/waas/models/waas_policy.rb +1 -1
  1752. data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +14 -5
  1753. data/lib/oci/waas/models/waas_policy_summary.rb +1 -1
  1754. data/lib/oci/waas/models/waf_blocked_request.rb +1 -1
  1755. data/lib/oci/waas/models/waf_config.rb +1 -1
  1756. data/lib/oci/waas/models/waf_config_details.rb +1 -1
  1757. data/lib/oci/waas/models/waf_log.rb +3 -3
  1758. data/lib/oci/waas/models/waf_meter_datum.rb +1 -1
  1759. data/lib/oci/waas/models/waf_request.rb +1 -1
  1760. data/lib/oci/waas/models/waf_traffic_datum.rb +1 -1
  1761. data/lib/oci/waas/models/whitelist.rb +20 -6
  1762. data/lib/oci/waas/models/work_request.rb +1 -1
  1763. data/lib/oci/waas/models/work_request_error.rb +1 -1
  1764. data/lib/oci/waas/models/work_request_log_entry.rb +1 -1
  1765. data/lib/oci/waas/models/work_request_operation_types.rb +1 -1
  1766. data/lib/oci/waas/models/work_request_resource.rb +1 -1
  1767. data/lib/oci/waas/models/work_request_status_values.rb +1 -1
  1768. data/lib/oci/waas/models/work_request_summary.rb +1 -1
  1769. data/lib/oci/waas/redirect_client.rb +2 -2
  1770. data/lib/oci/waas/redirect_client_composite_operations.rb +1 -1
  1771. data/lib/oci/waas/waas.rb +10 -1
  1772. data/lib/oci/waas/waas_client.rb +25 -23
  1773. data/lib/oci/waas/waas_client_composite_operations.rb +1 -1
  1774. data/lib/oci/waiter.rb +1 -1
  1775. data/lib/oci/work_requests/models/work_request.rb +1 -1
  1776. data/lib/oci/work_requests/models/work_request_error.rb +1 -1
  1777. data/lib/oci/work_requests/models/work_request_log_entry.rb +1 -1
  1778. data/lib/oci/work_requests/models/work_request_resource.rb +1 -1
  1779. data/lib/oci/work_requests/models/work_request_summary.rb +1 -1
  1780. data/lib/oci/work_requests/work_request_client.rb +1 -1
  1781. data/lib/oci/work_requests/work_request_client_composite_operations.rb +1 -1
  1782. data/lib/oci/work_requests/work_requests.rb +1 -1
  1783. data/lib/oraclebmc.rb +1 -1
  1784. metadata +548 -7
  1785. data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
@@ -0,0 +1 @@
1
+ # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
@@ -0,0 +1,49 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ module OCI
4
+ module DataScience
5
+ # Module containing models for requests made to, and responses received from,
6
+ # OCI DataScience services
7
+ module Models
8
+ end
9
+ end
10
+ end
11
+
12
+ # Require models
13
+ require 'oci/data_science/models/change_model_compartment_details'
14
+ require 'oci/data_science/models/change_notebook_session_compartment_details'
15
+ require 'oci/data_science/models/change_project_compartment_details'
16
+ require 'oci/data_science/models/create_model_details'
17
+ require 'oci/data_science/models/create_model_provenance_details'
18
+ require 'oci/data_science/models/create_notebook_session_details'
19
+ require 'oci/data_science/models/create_project_details'
20
+ require 'oci/data_science/models/model'
21
+ require 'oci/data_science/models/model_lifecycle_state'
22
+ require 'oci/data_science/models/model_provenance'
23
+ require 'oci/data_science/models/model_summary'
24
+ require 'oci/data_science/models/notebook_session'
25
+ require 'oci/data_science/models/notebook_session_configuration_details'
26
+ require 'oci/data_science/models/notebook_session_lifecycle_state'
27
+ require 'oci/data_science/models/notebook_session_shape_summary'
28
+ require 'oci/data_science/models/notebook_session_summary'
29
+ require 'oci/data_science/models/project'
30
+ require 'oci/data_science/models/project_lifecycle_state'
31
+ require 'oci/data_science/models/project_summary'
32
+ require 'oci/data_science/models/update_model_details'
33
+ require 'oci/data_science/models/update_model_provenance_details'
34
+ require 'oci/data_science/models/update_notebook_session_details'
35
+ require 'oci/data_science/models/update_project_details'
36
+ require 'oci/data_science/models/work_request'
37
+ require 'oci/data_science/models/work_request_error'
38
+ require 'oci/data_science/models/work_request_log_entry'
39
+ require 'oci/data_science/models/work_request_operation_type'
40
+ require 'oci/data_science/models/work_request_resource'
41
+ require 'oci/data_science/models/work_request_status'
42
+ require 'oci/data_science/models/work_request_summary'
43
+
44
+ # Require generated clients
45
+ require 'oci/data_science/data_science_client'
46
+ require 'oci/data_science/data_science_client_composite_operations'
47
+
48
+ # Require service utilities
49
+ require 'oci/data_science/util'
@@ -0,0 +1,2359 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'uri'
4
+ require 'logger'
5
+
6
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
7
+ module OCI
8
+ # Use the Data Science APIs to organize your data science work, access data and computing resources, and build, train, deploy, and manage models on Oracle Cloud.
9
+ class DataScience::DataScienceClient
10
+ # Client used to make HTTP requests.
11
+ # @return [OCI::ApiClient]
12
+ attr_reader :api_client
13
+
14
+ # Fully qualified endpoint URL
15
+ # @return [String]
16
+ attr_reader :endpoint
17
+
18
+ # The default retry configuration to apply to all operations in this service client. This can be overridden
19
+ # on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
20
+ # will not perform any retries
21
+ # @return [OCI::Retry::RetryConfig]
22
+ attr_reader :retry_config
23
+
24
+ # The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
25
+ # @return [String]
26
+ attr_reader :region
27
+
28
+ # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
29
+
30
+
31
+ # Creates a new DataScienceClient.
32
+ # Notes:
33
+ # If a config is not specified, then the global OCI.config will be used.
34
+ #
35
+ # This client is not thread-safe
36
+ #
37
+ # Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
38
+ # region. A region may be specified in the config or via or the region parameter. If specified in both, then the
39
+ # region parameter will be used.
40
+ # @param [Config] config A Config object.
41
+ # @param [String] region A region used to determine the service endpoint. This will usually
42
+ # correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
43
+ # @param [String] endpoint The fully qualified endpoint URL
44
+ # @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
45
+ # a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
46
+ # so that the instance principals signer can be provided to the client
47
+ # @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
48
+ # the details for the proxy can be provided in this parameter
49
+ # @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
50
+ # apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
51
+ # will not perform any retries
52
+ def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
53
+ # If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (which is valid for instance principals)
54
+ # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
55
+ # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
56
+ # pass it to this constructor.
57
+ #
58
+ # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
59
+ # so try and load the config from the default file.
60
+ config ||= OCI.config unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
61
+ config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
62
+ config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
63
+
64
+ if signer.nil?
65
+ signer = OCI::Signer.new(
66
+ config.user,
67
+ config.fingerprint,
68
+ config.tenancy,
69
+ config.key_file,
70
+ pass_phrase: config.pass_phrase,
71
+ private_key_content: config.key_content
72
+ )
73
+ end
74
+
75
+ @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
76
+ @retry_config = retry_config
77
+
78
+ if endpoint
79
+ @endpoint = endpoint + '/20190101'
80
+ else
81
+ region ||= config.region
82
+ region ||= signer.region if signer.respond_to?(:region)
83
+ self.region = region
84
+ end
85
+ logger.info "DataScienceClient endpoint set to '#{@endpoint}'." if logger
86
+ end
87
+ # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
88
+
89
+ # Set the region that will be used to determine the service endpoint.
90
+ # This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
91
+ # but may be an arbitrary string.
92
+ def region=(new_region)
93
+ @region = new_region
94
+
95
+ raise 'A region must be specified.' unless @region
96
+
97
+ @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://datascience.{region}.oci.{secondLevelDomain}') + '/20190101'
98
+ logger.info "DataScienceClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
99
+ end
100
+
101
+ # @return [Logger] The logger for this client. May be nil.
102
+ def logger
103
+ @api_client.config.logger
104
+ end
105
+
106
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
107
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
108
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
109
+
110
+
111
+ # Activates the model.
112
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
115
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
116
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
117
+ # for a resource, set the `if-match` parameter to the value of the
118
+ # etag from a previous GET or POST response for that resource.
119
+ # The resource will be updated or deleted only if the `etag` you
120
+ # provide matches the resource's current `etag` value.
121
+ #
122
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
123
+ #
124
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
125
+ def activate_model(model_id, opts = {})
126
+ logger.debug 'Calling operation DataScienceClient#activate_model.' if logger
127
+
128
+ raise "Missing the required parameter 'model_id' when calling activate_model." if model_id.nil?
129
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
130
+
131
+ path = '/models/{modelId}/actions/activate'.sub('{modelId}', model_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[:'if-match'] = opts[:if_match] if opts[:if_match]
143
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
144
+ # rubocop:enable Style/NegatedIf
145
+
146
+ post_body = nil
147
+
148
+ # rubocop:disable Metrics/BlockLength
149
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#activate_model') do
150
+ @api_client.call_api(
151
+ :POST,
152
+ path,
153
+ endpoint,
154
+ header_params: header_params,
155
+ query_params: query_params,
156
+ operation_signing_strategy: operation_signing_strategy,
157
+ body: post_body,
158
+ return_type: 'OCI::DataScience::Models::Model'
159
+ )
160
+ end
161
+ # rubocop:enable Metrics/BlockLength
162
+ end
163
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
164
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
165
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
166
+
167
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
168
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
169
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
170
+
171
+
172
+ # Activates the notebook session.
173
+ # @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
174
+ # @param [Hash] opts the optional parameters
175
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
176
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
177
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
178
+ # for a resource, set the `if-match` parameter to the value of the
179
+ # etag from a previous GET or POST response for that resource.
180
+ # The resource will be updated or deleted only if the `etag` you
181
+ # provide matches the resource's current `etag` value.
182
+ #
183
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
184
+ #
185
+ # @return [Response] A Response object with data of type nil
186
+ def activate_notebook_session(notebook_session_id, opts = {})
187
+ logger.debug 'Calling operation DataScienceClient#activate_notebook_session.' if logger
188
+
189
+ raise "Missing the required parameter 'notebook_session_id' when calling activate_notebook_session." if notebook_session_id.nil?
190
+ raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
191
+
192
+ path = '/notebookSessions/{notebookSessionId}/actions/activate'.sub('{notebookSessionId}', notebook_session_id.to_s)
193
+ operation_signing_strategy = :standard
194
+
195
+ # rubocop:disable Style/NegatedIf
196
+ # Query Params
197
+ query_params = {}
198
+
199
+ # Header Params
200
+ header_params = {}
201
+ header_params[:accept] = 'application/json'
202
+ header_params[:'content-type'] = 'application/json'
203
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
204
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
205
+ # rubocop:enable Style/NegatedIf
206
+
207
+ post_body = nil
208
+
209
+ # rubocop:disable Metrics/BlockLength
210
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#activate_notebook_session') do
211
+ @api_client.call_api(
212
+ :POST,
213
+ path,
214
+ endpoint,
215
+ header_params: header_params,
216
+ query_params: query_params,
217
+ operation_signing_strategy: operation_signing_strategy,
218
+ body: post_body
219
+ )
220
+ end
221
+ # rubocop:enable Metrics/BlockLength
222
+ end
223
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
224
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
225
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
226
+
227
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
228
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
229
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
230
+
231
+
232
+ # Cancels a work request that has not started.
233
+ # @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
234
+ # @param [Hash] opts the optional parameters
235
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
236
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
237
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
238
+ # for a resource, set the `if-match` parameter to the value of the
239
+ # etag from a previous GET or POST response for that resource.
240
+ # The resource will be updated or deleted only if the `etag` you
241
+ # provide matches the resource's current `etag` value.
242
+ #
243
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
244
+ #
245
+ # @return [Response] A Response object with data of type nil
246
+ def cancel_work_request(work_request_id, opts = {})
247
+ logger.debug 'Calling operation DataScienceClient#cancel_work_request.' if logger
248
+
249
+ raise "Missing the required parameter 'work_request_id' when calling cancel_work_request." if work_request_id.nil?
250
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
251
+
252
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
253
+ operation_signing_strategy = :standard
254
+
255
+ # rubocop:disable Style/NegatedIf
256
+ # Query Params
257
+ query_params = {}
258
+
259
+ # Header Params
260
+ header_params = {}
261
+ header_params[:accept] = 'application/json'
262
+ header_params[:'content-type'] = 'application/json'
263
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
264
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
265
+ # rubocop:enable Style/NegatedIf
266
+
267
+ post_body = nil
268
+
269
+ # rubocop:disable Metrics/BlockLength
270
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#cancel_work_request') do
271
+ @api_client.call_api(
272
+ :DELETE,
273
+ path,
274
+ endpoint,
275
+ header_params: header_params,
276
+ query_params: query_params,
277
+ operation_signing_strategy: operation_signing_strategy,
278
+ body: post_body
279
+ )
280
+ end
281
+ # rubocop:enable Metrics/BlockLength
282
+ end
283
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
284
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
285
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
286
+
287
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
288
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
289
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
290
+
291
+
292
+ # Moves a model resource into a different compartment.
293
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
294
+ # @param [OCI::DataScience::Models::ChangeModelCompartmentDetails] change_model_compartment_details Details for changing the compartment of a model.
295
+ # @param [Hash] opts the optional parameters
296
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
297
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
298
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
299
+ # for a resource, set the `if-match` parameter to the value of the
300
+ # etag from a previous GET or POST response for that resource.
301
+ # The resource will be updated or deleted only if the `etag` you
302
+ # provide matches the resource's current `etag` value.
303
+ #
304
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
305
+ #
306
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
307
+ #
308
+ # @return [Response] A Response object with data of type nil
309
+ def change_model_compartment(model_id, change_model_compartment_details, opts = {})
310
+ logger.debug 'Calling operation DataScienceClient#change_model_compartment.' if logger
311
+
312
+ raise "Missing the required parameter 'model_id' when calling change_model_compartment." if model_id.nil?
313
+ raise "Missing the required parameter 'change_model_compartment_details' when calling change_model_compartment." if change_model_compartment_details.nil?
314
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
315
+
316
+ path = '/models/{modelId}/actions/changeCompartment'.sub('{modelId}', model_id.to_s)
317
+ operation_signing_strategy = :standard
318
+
319
+ # rubocop:disable Style/NegatedIf
320
+ # Query Params
321
+ query_params = {}
322
+
323
+ # Header Params
324
+ header_params = {}
325
+ header_params[:accept] = 'application/json'
326
+ header_params[:'content-type'] = 'application/json'
327
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
328
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
329
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
330
+ # rubocop:enable Style/NegatedIf
331
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
332
+
333
+ post_body = @api_client.object_to_http_body(change_model_compartment_details)
334
+
335
+ # rubocop:disable Metrics/BlockLength
336
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#change_model_compartment') do
337
+ @api_client.call_api(
338
+ :POST,
339
+ path,
340
+ endpoint,
341
+ header_params: header_params,
342
+ query_params: query_params,
343
+ operation_signing_strategy: operation_signing_strategy,
344
+ body: post_body
345
+ )
346
+ end
347
+ # rubocop:enable Metrics/BlockLength
348
+ end
349
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
350
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
351
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
352
+
353
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
354
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
355
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
356
+
357
+
358
+ # Moves a notebook session resource into a different compartment.
359
+ # @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
360
+ # @param [OCI::DataScience::Models::ChangeNotebookSessionCompartmentDetails] change_notebook_session_compartment_details Details for changing the compartment of a notebook session.
361
+ # @param [Hash] opts the optional parameters
362
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
363
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
364
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
365
+ # for a resource, set the `if-match` parameter to the value of the
366
+ # etag from a previous GET or POST response for that resource.
367
+ # The resource will be updated or deleted only if the `etag` you
368
+ # provide matches the resource's current `etag` value.
369
+ #
370
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
371
+ #
372
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
373
+ #
374
+ # @return [Response] A Response object with data of type nil
375
+ def change_notebook_session_compartment(notebook_session_id, change_notebook_session_compartment_details, opts = {})
376
+ logger.debug 'Calling operation DataScienceClient#change_notebook_session_compartment.' if logger
377
+
378
+ raise "Missing the required parameter 'notebook_session_id' when calling change_notebook_session_compartment." if notebook_session_id.nil?
379
+ raise "Missing the required parameter 'change_notebook_session_compartment_details' when calling change_notebook_session_compartment." if change_notebook_session_compartment_details.nil?
380
+ raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
381
+
382
+ path = '/notebookSessions/{notebookSessionId}/actions/changeCompartment'.sub('{notebookSessionId}', notebook_session_id.to_s)
383
+ operation_signing_strategy = :standard
384
+
385
+ # rubocop:disable Style/NegatedIf
386
+ # Query Params
387
+ query_params = {}
388
+
389
+ # Header Params
390
+ header_params = {}
391
+ header_params[:accept] = 'application/json'
392
+ header_params[:'content-type'] = 'application/json'
393
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
394
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
395
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
396
+ # rubocop:enable Style/NegatedIf
397
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
398
+
399
+ post_body = @api_client.object_to_http_body(change_notebook_session_compartment_details)
400
+
401
+ # rubocop:disable Metrics/BlockLength
402
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#change_notebook_session_compartment') do
403
+ @api_client.call_api(
404
+ :POST,
405
+ path,
406
+ endpoint,
407
+ header_params: header_params,
408
+ query_params: query_params,
409
+ operation_signing_strategy: operation_signing_strategy,
410
+ body: post_body
411
+ )
412
+ end
413
+ # rubocop:enable Metrics/BlockLength
414
+ end
415
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
416
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
417
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
418
+
419
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
420
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
421
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
422
+
423
+
424
+ # Moves a project resource into a different compartment.
425
+ # @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
426
+ # @param [OCI::DataScience::Models::ChangeProjectCompartmentDetails] change_project_compartment_details Details for changing the compartment of a project.
427
+ # @param [Hash] opts the optional parameters
428
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
429
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
430
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
431
+ # for a resource, set the `if-match` parameter to the value of the
432
+ # etag from a previous GET or POST response for that resource.
433
+ # The resource will be updated or deleted only if the `etag` you
434
+ # provide matches the resource's current `etag` value.
435
+ #
436
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
437
+ #
438
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
439
+ #
440
+ # @return [Response] A Response object with data of type nil
441
+ def change_project_compartment(project_id, change_project_compartment_details, opts = {})
442
+ logger.debug 'Calling operation DataScienceClient#change_project_compartment.' if logger
443
+
444
+ raise "Missing the required parameter 'project_id' when calling change_project_compartment." if project_id.nil?
445
+ raise "Missing the required parameter 'change_project_compartment_details' when calling change_project_compartment." if change_project_compartment_details.nil?
446
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
447
+
448
+ path = '/projects/{projectId}/actions/changeCompartment'.sub('{projectId}', project_id.to_s)
449
+ operation_signing_strategy = :standard
450
+
451
+ # rubocop:disable Style/NegatedIf
452
+ # Query Params
453
+ query_params = {}
454
+
455
+ # Header Params
456
+ header_params = {}
457
+ header_params[:accept] = 'application/json'
458
+ header_params[:'content-type'] = 'application/json'
459
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
460
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
461
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
462
+ # rubocop:enable Style/NegatedIf
463
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
464
+
465
+ post_body = @api_client.object_to_http_body(change_project_compartment_details)
466
+
467
+ # rubocop:disable Metrics/BlockLength
468
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#change_project_compartment') do
469
+ @api_client.call_api(
470
+ :POST,
471
+ path,
472
+ endpoint,
473
+ header_params: header_params,
474
+ query_params: query_params,
475
+ operation_signing_strategy: operation_signing_strategy,
476
+ body: post_body
477
+ )
478
+ end
479
+ # rubocop:enable Metrics/BlockLength
480
+ end
481
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
482
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
483
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
484
+
485
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
486
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
487
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
488
+
489
+
490
+ # Creates a new model.
491
+ # @param [OCI::DataScience::Models::CreateModelDetails] create_model_details Details for creating a new model.
492
+ # @param [Hash] opts the optional parameters
493
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
494
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
495
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
496
+ #
497
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
498
+ #
499
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
500
+ def create_model(create_model_details, opts = {})
501
+ logger.debug 'Calling operation DataScienceClient#create_model.' if logger
502
+
503
+ raise "Missing the required parameter 'create_model_details' when calling create_model." if create_model_details.nil?
504
+
505
+ path = '/models'
506
+ operation_signing_strategy = :standard
507
+
508
+ # rubocop:disable Style/NegatedIf
509
+ # Query Params
510
+ query_params = {}
511
+
512
+ # Header Params
513
+ header_params = {}
514
+ header_params[:accept] = 'application/json'
515
+ header_params[:'content-type'] = 'application/json'
516
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
517
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
518
+ # rubocop:enable Style/NegatedIf
519
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
520
+
521
+ post_body = @api_client.object_to_http_body(create_model_details)
522
+
523
+ # rubocop:disable Metrics/BlockLength
524
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_model') do
525
+ @api_client.call_api(
526
+ :POST,
527
+ path,
528
+ endpoint,
529
+ header_params: header_params,
530
+ query_params: query_params,
531
+ operation_signing_strategy: operation_signing_strategy,
532
+ body: post_body,
533
+ return_type: 'OCI::DataScience::Models::Model'
534
+ )
535
+ end
536
+ # rubocop:enable Metrics/BlockLength
537
+ end
538
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
539
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
540
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
541
+
542
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
543
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
544
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
545
+
546
+
547
+ # Creates model artifact for specified model.
548
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
549
+ # @param [String, IO] model_artifact The model artifact to upload.
550
+ # @param [Hash] opts the optional parameters
551
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
552
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
553
+ # @option opts [Integer] :content_length The content length of the body.
554
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
555
+ #
556
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
557
+ #
558
+ # @option opts [String] :content_disposition The content disposition of the body.
559
+ # @return [Response] A Response object with data of type nil
560
+ def create_model_artifact(model_id, model_artifact, opts = {})
561
+ logger.debug 'Calling operation DataScienceClient#create_model_artifact.' if logger
562
+
563
+ raise "Missing the required parameter 'model_id' when calling create_model_artifact." if model_id.nil?
564
+ raise "Missing the required parameter 'model_artifact' when calling create_model_artifact." if model_artifact.nil?
565
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
566
+
567
+ path = '/models/{modelId}/artifact'.sub('{modelId}', model_id.to_s)
568
+ operation_signing_strategy = :exclude_body
569
+
570
+ # rubocop:disable Style/NegatedIf
571
+ # Query Params
572
+ query_params = {}
573
+
574
+ # Header Params
575
+ header_params = {}
576
+ header_params[:accept] = 'application/json'
577
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
578
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
579
+ header_params[:'content-length'] = opts[:content_length] if opts[:content_length]
580
+ header_params[:'content-disposition'] = opts[:content_disposition] if opts[:content_disposition]
581
+ # rubocop:enable Style/NegatedIf
582
+ header_params[:'content-type'] ||= 'application/octet-stream'
583
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
584
+
585
+ post_body = @api_client.object_to_http_body(model_artifact)
586
+
587
+ # rubocop:disable Metrics/BlockLength
588
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_model_artifact') do
589
+ @api_client.call_api(
590
+ :POST,
591
+ path,
592
+ endpoint,
593
+ header_params: header_params,
594
+ query_params: query_params,
595
+ operation_signing_strategy: operation_signing_strategy,
596
+ body: post_body
597
+ )
598
+ end
599
+ # rubocop:enable Metrics/BlockLength
600
+ end
601
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
602
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
603
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
604
+
605
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
606
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
607
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
608
+
609
+
610
+ # Creates provenance information for the specified model.
611
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
612
+ # @param [OCI::DataScience::Models::CreateModelProvenanceDetails] create_model_provenance_details Provenance information for specified model.
613
+ # @param [Hash] opts the optional parameters
614
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
615
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
616
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
617
+ #
618
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
619
+ #
620
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::ModelProvenance ModelProvenance}
621
+ def create_model_provenance(model_id, create_model_provenance_details, opts = {})
622
+ logger.debug 'Calling operation DataScienceClient#create_model_provenance.' if logger
623
+
624
+ raise "Missing the required parameter 'model_id' when calling create_model_provenance." if model_id.nil?
625
+ raise "Missing the required parameter 'create_model_provenance_details' when calling create_model_provenance." if create_model_provenance_details.nil?
626
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
627
+
628
+ path = '/models/{modelId}/provenance'.sub('{modelId}', model_id.to_s)
629
+ operation_signing_strategy = :standard
630
+
631
+ # rubocop:disable Style/NegatedIf
632
+ # Query Params
633
+ query_params = {}
634
+
635
+ # Header Params
636
+ header_params = {}
637
+ header_params[:accept] = 'application/json'
638
+ header_params[:'content-type'] = 'application/json'
639
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
640
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
641
+ # rubocop:enable Style/NegatedIf
642
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
643
+
644
+ post_body = @api_client.object_to_http_body(create_model_provenance_details)
645
+
646
+ # rubocop:disable Metrics/BlockLength
647
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_model_provenance') do
648
+ @api_client.call_api(
649
+ :POST,
650
+ path,
651
+ endpoint,
652
+ header_params: header_params,
653
+ query_params: query_params,
654
+ operation_signing_strategy: operation_signing_strategy,
655
+ body: post_body,
656
+ return_type: 'OCI::DataScience::Models::ModelProvenance'
657
+ )
658
+ end
659
+ # rubocop:enable Metrics/BlockLength
660
+ end
661
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
662
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
663
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
664
+
665
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
666
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
667
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
668
+
669
+
670
+ # Creates a new notebook session.
671
+ # @param [OCI::DataScience::Models::CreateNotebookSessionDetails] create_notebook_session_details Details for creating a new notebook session.
672
+ # @param [Hash] opts the optional parameters
673
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
674
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
675
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
676
+ #
677
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
678
+ #
679
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::NotebookSession NotebookSession}
680
+ def create_notebook_session(create_notebook_session_details, opts = {})
681
+ logger.debug 'Calling operation DataScienceClient#create_notebook_session.' if logger
682
+
683
+ raise "Missing the required parameter 'create_notebook_session_details' when calling create_notebook_session." if create_notebook_session_details.nil?
684
+
685
+ path = '/notebookSessions'
686
+ operation_signing_strategy = :standard
687
+
688
+ # rubocop:disable Style/NegatedIf
689
+ # Query Params
690
+ query_params = {}
691
+
692
+ # Header Params
693
+ header_params = {}
694
+ header_params[:accept] = 'application/json'
695
+ header_params[:'content-type'] = 'application/json'
696
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
697
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
698
+ # rubocop:enable Style/NegatedIf
699
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
700
+
701
+ post_body = @api_client.object_to_http_body(create_notebook_session_details)
702
+
703
+ # rubocop:disable Metrics/BlockLength
704
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_notebook_session') do
705
+ @api_client.call_api(
706
+ :POST,
707
+ path,
708
+ endpoint,
709
+ header_params: header_params,
710
+ query_params: query_params,
711
+ operation_signing_strategy: operation_signing_strategy,
712
+ body: post_body,
713
+ return_type: 'OCI::DataScience::Models::NotebookSession'
714
+ )
715
+ end
716
+ # rubocop:enable Metrics/BlockLength
717
+ end
718
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
719
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
720
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
721
+
722
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
723
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
724
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
725
+
726
+
727
+ # Creates a new project.
728
+ # @param [OCI::DataScience::Models::CreateProjectDetails] create_project_details Details for creating a new project.
729
+ # @param [Hash] opts the optional parameters
730
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
731
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
732
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
733
+ #
734
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
735
+ #
736
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Project Project}
737
+ def create_project(create_project_details, opts = {})
738
+ logger.debug 'Calling operation DataScienceClient#create_project.' if logger
739
+
740
+ raise "Missing the required parameter 'create_project_details' when calling create_project." if create_project_details.nil?
741
+
742
+ path = '/projects'
743
+ operation_signing_strategy = :standard
744
+
745
+ # rubocop:disable Style/NegatedIf
746
+ # Query Params
747
+ query_params = {}
748
+
749
+ # Header Params
750
+ header_params = {}
751
+ header_params[:accept] = 'application/json'
752
+ header_params[:'content-type'] = 'application/json'
753
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
754
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
755
+ # rubocop:enable Style/NegatedIf
756
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
757
+
758
+ post_body = @api_client.object_to_http_body(create_project_details)
759
+
760
+ # rubocop:disable Metrics/BlockLength
761
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_project') do
762
+ @api_client.call_api(
763
+ :POST,
764
+ path,
765
+ endpoint,
766
+ header_params: header_params,
767
+ query_params: query_params,
768
+ operation_signing_strategy: operation_signing_strategy,
769
+ body: post_body,
770
+ return_type: 'OCI::DataScience::Models::Project'
771
+ )
772
+ end
773
+ # rubocop:enable Metrics/BlockLength
774
+ end
775
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
776
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
777
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
778
+
779
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
780
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
781
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
782
+
783
+
784
+ # Deactivates the model.
785
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
786
+ # @param [Hash] opts the optional parameters
787
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
788
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
789
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
790
+ # for a resource, set the `if-match` parameter to the value of the
791
+ # etag from a previous GET or POST response for that resource.
792
+ # The resource will be updated or deleted only if the `etag` you
793
+ # provide matches the resource's current `etag` value.
794
+ #
795
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
796
+ #
797
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
798
+ def deactivate_model(model_id, opts = {})
799
+ logger.debug 'Calling operation DataScienceClient#deactivate_model.' if logger
800
+
801
+ raise "Missing the required parameter 'model_id' when calling deactivate_model." if model_id.nil?
802
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
803
+
804
+ path = '/models/{modelId}/actions/deactivate'.sub('{modelId}', model_id.to_s)
805
+ operation_signing_strategy = :standard
806
+
807
+ # rubocop:disable Style/NegatedIf
808
+ # Query Params
809
+ query_params = {}
810
+
811
+ # Header Params
812
+ header_params = {}
813
+ header_params[:accept] = 'application/json'
814
+ header_params[:'content-type'] = 'application/json'
815
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
816
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
817
+ # rubocop:enable Style/NegatedIf
818
+
819
+ post_body = nil
820
+
821
+ # rubocop:disable Metrics/BlockLength
822
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#deactivate_model') do
823
+ @api_client.call_api(
824
+ :POST,
825
+ path,
826
+ endpoint,
827
+ header_params: header_params,
828
+ query_params: query_params,
829
+ operation_signing_strategy: operation_signing_strategy,
830
+ body: post_body,
831
+ return_type: 'OCI::DataScience::Models::Model'
832
+ )
833
+ end
834
+ # rubocop:enable Metrics/BlockLength
835
+ end
836
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
837
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
838
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
839
+
840
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
841
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
842
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
843
+
844
+
845
+ # Deactivates the notebook session.
846
+ # @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
847
+ # @param [Hash] opts the optional parameters
848
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
849
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
850
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
851
+ # for a resource, set the `if-match` parameter to the value of the
852
+ # etag from a previous GET or POST response for that resource.
853
+ # The resource will be updated or deleted only if the `etag` you
854
+ # provide matches the resource's current `etag` value.
855
+ #
856
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
857
+ #
858
+ # @return [Response] A Response object with data of type nil
859
+ def deactivate_notebook_session(notebook_session_id, opts = {})
860
+ logger.debug 'Calling operation DataScienceClient#deactivate_notebook_session.' if logger
861
+
862
+ raise "Missing the required parameter 'notebook_session_id' when calling deactivate_notebook_session." if notebook_session_id.nil?
863
+ raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
864
+
865
+ path = '/notebookSessions/{notebookSessionId}/actions/deactivate'.sub('{notebookSessionId}', notebook_session_id.to_s)
866
+ operation_signing_strategy = :standard
867
+
868
+ # rubocop:disable Style/NegatedIf
869
+ # Query Params
870
+ query_params = {}
871
+
872
+ # Header Params
873
+ header_params = {}
874
+ header_params[:accept] = 'application/json'
875
+ header_params[:'content-type'] = 'application/json'
876
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
877
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
878
+ # rubocop:enable Style/NegatedIf
879
+
880
+ post_body = nil
881
+
882
+ # rubocop:disable Metrics/BlockLength
883
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#deactivate_notebook_session') do
884
+ @api_client.call_api(
885
+ :POST,
886
+ path,
887
+ endpoint,
888
+ header_params: header_params,
889
+ query_params: query_params,
890
+ operation_signing_strategy: operation_signing_strategy,
891
+ body: post_body
892
+ )
893
+ end
894
+ # rubocop:enable Metrics/BlockLength
895
+ end
896
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
897
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
898
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
899
+
900
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
901
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
902
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
903
+
904
+
905
+ # Deletes the specified model.
906
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
907
+ # @param [Hash] opts the optional parameters
908
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
909
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
910
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
911
+ # for a resource, set the `if-match` parameter to the value of the
912
+ # etag from a previous GET or POST response for that resource.
913
+ # The resource will be updated or deleted only if the `etag` you
914
+ # provide matches the resource's current `etag` value.
915
+ #
916
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
917
+ #
918
+ # @return [Response] A Response object with data of type nil
919
+ def delete_model(model_id, opts = {})
920
+ logger.debug 'Calling operation DataScienceClient#delete_model.' if logger
921
+
922
+ raise "Missing the required parameter 'model_id' when calling delete_model." if model_id.nil?
923
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
924
+
925
+ path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
926
+ operation_signing_strategy = :standard
927
+
928
+ # rubocop:disable Style/NegatedIf
929
+ # Query Params
930
+ query_params = {}
931
+
932
+ # Header Params
933
+ header_params = {}
934
+ header_params[:accept] = 'application/json'
935
+ header_params[:'content-type'] = 'application/json'
936
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
937
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
938
+ # rubocop:enable Style/NegatedIf
939
+
940
+ post_body = nil
941
+
942
+ # rubocop:disable Metrics/BlockLength
943
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#delete_model') do
944
+ @api_client.call_api(
945
+ :DELETE,
946
+ path,
947
+ endpoint,
948
+ header_params: header_params,
949
+ query_params: query_params,
950
+ operation_signing_strategy: operation_signing_strategy,
951
+ body: post_body
952
+ )
953
+ end
954
+ # rubocop:enable Metrics/BlockLength
955
+ end
956
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
957
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
958
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
959
+
960
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
961
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
962
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
963
+
964
+
965
+ # Deletes the specified notebook session. Any unsaved work in this notebook session will be lost.
966
+ # @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
967
+ # @param [Hash] opts the optional parameters
968
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
969
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
970
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
971
+ # for a resource, set the `if-match` parameter to the value of the
972
+ # etag from a previous GET or POST response for that resource.
973
+ # The resource will be updated or deleted only if the `etag` you
974
+ # provide matches the resource's current `etag` value.
975
+ #
976
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
977
+ #
978
+ # @return [Response] A Response object with data of type nil
979
+ def delete_notebook_session(notebook_session_id, opts = {})
980
+ logger.debug 'Calling operation DataScienceClient#delete_notebook_session.' if logger
981
+
982
+ raise "Missing the required parameter 'notebook_session_id' when calling delete_notebook_session." if notebook_session_id.nil?
983
+ raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
984
+
985
+ path = '/notebookSessions/{notebookSessionId}'.sub('{notebookSessionId}', notebook_session_id.to_s)
986
+ operation_signing_strategy = :standard
987
+
988
+ # rubocop:disable Style/NegatedIf
989
+ # Query Params
990
+ query_params = {}
991
+
992
+ # Header Params
993
+ header_params = {}
994
+ header_params[:accept] = 'application/json'
995
+ header_params[:'content-type'] = 'application/json'
996
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
997
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
998
+ # rubocop:enable Style/NegatedIf
999
+
1000
+ post_body = nil
1001
+
1002
+ # rubocop:disable Metrics/BlockLength
1003
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#delete_notebook_session') do
1004
+ @api_client.call_api(
1005
+ :DELETE,
1006
+ path,
1007
+ endpoint,
1008
+ header_params: header_params,
1009
+ query_params: query_params,
1010
+ operation_signing_strategy: operation_signing_strategy,
1011
+ body: post_body
1012
+ )
1013
+ end
1014
+ # rubocop:enable Metrics/BlockLength
1015
+ end
1016
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1017
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1018
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1019
+
1020
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1021
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1022
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1023
+
1024
+
1025
+ # Deletes the specified project. This operation will fail unless all associated resources (such as notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
1026
+ # @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
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] :if_match For optimistic concurrency control. In the PUT or DELETE call
1031
+ # for a resource, set the `if-match` parameter to the value of the
1032
+ # etag from a previous GET or POST response for that resource.
1033
+ # The resource will be updated or deleted only if the `etag` you
1034
+ # provide matches the resource's current `etag` value.
1035
+ #
1036
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1037
+ #
1038
+ # @return [Response] A Response object with data of type nil
1039
+ def delete_project(project_id, opts = {})
1040
+ logger.debug 'Calling operation DataScienceClient#delete_project.' if logger
1041
+
1042
+ raise "Missing the required parameter 'project_id' when calling delete_project." if project_id.nil?
1043
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
1044
+
1045
+ path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
1046
+ operation_signing_strategy = :standard
1047
+
1048
+ # rubocop:disable Style/NegatedIf
1049
+ # Query Params
1050
+ query_params = {}
1051
+
1052
+ # Header Params
1053
+ header_params = {}
1054
+ header_params[:accept] = 'application/json'
1055
+ header_params[:'content-type'] = 'application/json'
1056
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1057
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1058
+ # rubocop:enable Style/NegatedIf
1059
+
1060
+ post_body = nil
1061
+
1062
+ # rubocop:disable Metrics/BlockLength
1063
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#delete_project') do
1064
+ @api_client.call_api(
1065
+ :DELETE,
1066
+ path,
1067
+ endpoint,
1068
+ header_params: header_params,
1069
+ query_params: query_params,
1070
+ operation_signing_strategy: operation_signing_strategy,
1071
+ body: post_body
1072
+ )
1073
+ end
1074
+ # rubocop:enable Metrics/BlockLength
1075
+ end
1076
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1077
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1078
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1079
+
1080
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1081
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1082
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1083
+
1084
+
1085
+ # Gets the specified model's information.
1086
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
1087
+ # @param [Hash] opts the optional parameters
1088
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1089
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1090
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1091
+ #
1092
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
1093
+ def get_model(model_id, opts = {})
1094
+ logger.debug 'Calling operation DataScienceClient#get_model.' if logger
1095
+
1096
+ raise "Missing the required parameter 'model_id' when calling get_model." if model_id.nil?
1097
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
1098
+
1099
+ path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
1100
+ operation_signing_strategy = :standard
1101
+
1102
+ # rubocop:disable Style/NegatedIf
1103
+ # Query Params
1104
+ query_params = {}
1105
+
1106
+ # Header Params
1107
+ header_params = {}
1108
+ header_params[:accept] = 'application/json'
1109
+ header_params[:'content-type'] = 'application/json'
1110
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1111
+ # rubocop:enable Style/NegatedIf
1112
+
1113
+ post_body = nil
1114
+
1115
+ # rubocop:disable Metrics/BlockLength
1116
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_model') do
1117
+ @api_client.call_api(
1118
+ :GET,
1119
+ path,
1120
+ endpoint,
1121
+ header_params: header_params,
1122
+ query_params: query_params,
1123
+ operation_signing_strategy: operation_signing_strategy,
1124
+ body: post_body,
1125
+ return_type: 'OCI::DataScience::Models::Model'
1126
+ )
1127
+ end
1128
+ # rubocop:enable Metrics/BlockLength
1129
+ end
1130
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1131
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1132
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1133
+
1134
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1135
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1136
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1137
+
1138
+
1139
+ # Downloads model artifact content for specified model.
1140
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
1141
+ # @param [Hash] opts the optional parameters
1142
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1143
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1144
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1145
+ #
1146
+ # @option opts [String] :range Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1.
1147
+ # Note that only a single range of bytes is supported.
1148
+ #
1149
+ # @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
1150
+ # @option [Block] &block Streaming http body to the block
1151
+ # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
1152
+ def get_model_artifact_content(model_id, opts = {}, &block)
1153
+ logger.debug 'Calling operation DataScienceClient#get_model_artifact_content.' if logger
1154
+
1155
+ raise "Missing the required parameter 'model_id' when calling get_model_artifact_content." if model_id.nil?
1156
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
1157
+
1158
+ path = '/models/{modelId}/artifact/content'.sub('{modelId}', model_id.to_s)
1159
+ operation_signing_strategy = :standard
1160
+
1161
+ # rubocop:disable Style/NegatedIf
1162
+ # Query Params
1163
+ query_params = {}
1164
+
1165
+ # Header Params
1166
+ header_params = {}
1167
+ header_params[:accept] = opts[:accept] if opts[:accept]
1168
+ header_params[:accept] ||= 'application/octet-stream'
1169
+ header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
1170
+ header_params[:'content-type'] = 'application/json'
1171
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1172
+ header_params[:range] = opts[:range] if opts[:range]
1173
+ # rubocop:enable Style/NegatedIf
1174
+
1175
+ post_body = nil
1176
+
1177
+ # rubocop:disable Metrics/BlockLength
1178
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_model_artifact_content') do
1179
+ if !block.nil?
1180
+ @api_client.call_api(
1181
+ :GET,
1182
+ path,
1183
+ endpoint,
1184
+ header_params: header_params,
1185
+ query_params: query_params,
1186
+ operation_signing_strategy: operation_signing_strategy,
1187
+ body: post_body,
1188
+ return_type: 'Stream',
1189
+ &block
1190
+ )
1191
+ elsif opts[:response_target]
1192
+ if opts[:response_target].respond_to? :write
1193
+ @api_client.call_api(
1194
+ :GET,
1195
+ path,
1196
+ endpoint,
1197
+ header_params: header_params,
1198
+ query_params: query_params,
1199
+ operation_signing_strategy: operation_signing_strategy,
1200
+ body: post_body,
1201
+ return_type: 'Stream',
1202
+ &proc { |chunk, _response| opts[:response_target].write(chunk) }
1203
+ )
1204
+ elsif opts[:response_target].is_a?(String)
1205
+ File.open(opts[:response_target], 'wb') do |output|
1206
+ return @api_client.call_api(
1207
+ :GET,
1208
+ path,
1209
+ endpoint,
1210
+ header_params: header_params,
1211
+ query_params: query_params,
1212
+ operation_signing_strategy: operation_signing_strategy,
1213
+ body: post_body,
1214
+ return_type: 'Stream',
1215
+ &proc { |chunk, _response| output.write(chunk) }
1216
+ )
1217
+ end
1218
+ end
1219
+ else
1220
+ @api_client.call_api(
1221
+ :GET,
1222
+ path,
1223
+ endpoint,
1224
+ header_params: header_params,
1225
+ query_params: query_params,
1226
+ operation_signing_strategy: operation_signing_strategy,
1227
+ body: post_body,
1228
+ return_type: 'String'
1229
+ )
1230
+ end
1231
+ end
1232
+ # rubocop:enable Metrics/BlockLength
1233
+ end
1234
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1235
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1236
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1237
+
1238
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1239
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1240
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1241
+
1242
+
1243
+ # Gets provenance information for specified model.
1244
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
1245
+ # @param [Hash] opts the optional parameters
1246
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1247
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1248
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1249
+ #
1250
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::ModelProvenance ModelProvenance}
1251
+ def get_model_provenance(model_id, opts = {})
1252
+ logger.debug 'Calling operation DataScienceClient#get_model_provenance.' if logger
1253
+
1254
+ raise "Missing the required parameter 'model_id' when calling get_model_provenance." if model_id.nil?
1255
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
1256
+
1257
+ path = '/models/{modelId}/provenance'.sub('{modelId}', model_id.to_s)
1258
+ operation_signing_strategy = :standard
1259
+
1260
+ # rubocop:disable Style/NegatedIf
1261
+ # Query Params
1262
+ query_params = {}
1263
+
1264
+ # Header Params
1265
+ header_params = {}
1266
+ header_params[:accept] = 'application/json'
1267
+ header_params[:'content-type'] = 'application/json'
1268
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1269
+ # rubocop:enable Style/NegatedIf
1270
+
1271
+ post_body = nil
1272
+
1273
+ # rubocop:disable Metrics/BlockLength
1274
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_model_provenance') do
1275
+ @api_client.call_api(
1276
+ :GET,
1277
+ path,
1278
+ endpoint,
1279
+ header_params: header_params,
1280
+ query_params: query_params,
1281
+ operation_signing_strategy: operation_signing_strategy,
1282
+ body: post_body,
1283
+ return_type: 'OCI::DataScience::Models::ModelProvenance'
1284
+ )
1285
+ end
1286
+ # rubocop:enable Metrics/BlockLength
1287
+ end
1288
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1289
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1290
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1291
+
1292
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1293
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1294
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1295
+
1296
+
1297
+ # Gets the specified notebook session's information.
1298
+ # @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
1299
+ # @param [Hash] opts the optional parameters
1300
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1301
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1302
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1303
+ #
1304
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::NotebookSession NotebookSession}
1305
+ def get_notebook_session(notebook_session_id, opts = {})
1306
+ logger.debug 'Calling operation DataScienceClient#get_notebook_session.' if logger
1307
+
1308
+ raise "Missing the required parameter 'notebook_session_id' when calling get_notebook_session." if notebook_session_id.nil?
1309
+ raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
1310
+
1311
+ path = '/notebookSessions/{notebookSessionId}'.sub('{notebookSessionId}', notebook_session_id.to_s)
1312
+ operation_signing_strategy = :standard
1313
+
1314
+ # rubocop:disable Style/NegatedIf
1315
+ # Query Params
1316
+ query_params = {}
1317
+
1318
+ # Header Params
1319
+ header_params = {}
1320
+ header_params[:accept] = 'application/json'
1321
+ header_params[:'content-type'] = 'application/json'
1322
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1323
+ # rubocop:enable Style/NegatedIf
1324
+
1325
+ post_body = nil
1326
+
1327
+ # rubocop:disable Metrics/BlockLength
1328
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_notebook_session') do
1329
+ @api_client.call_api(
1330
+ :GET,
1331
+ path,
1332
+ endpoint,
1333
+ header_params: header_params,
1334
+ query_params: query_params,
1335
+ operation_signing_strategy: operation_signing_strategy,
1336
+ body: post_body,
1337
+ return_type: 'OCI::DataScience::Models::NotebookSession'
1338
+ )
1339
+ end
1340
+ # rubocop:enable Metrics/BlockLength
1341
+ end
1342
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1343
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1344
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1345
+
1346
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1347
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1348
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1349
+
1350
+
1351
+ # Gets the specified project's information.
1352
+ # @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
1353
+ # @param [Hash] opts the optional parameters
1354
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1355
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1356
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1357
+ #
1358
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Project Project}
1359
+ def get_project(project_id, opts = {})
1360
+ logger.debug 'Calling operation DataScienceClient#get_project.' if logger
1361
+
1362
+ raise "Missing the required parameter 'project_id' when calling get_project." if project_id.nil?
1363
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
1364
+
1365
+ path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
1366
+ operation_signing_strategy = :standard
1367
+
1368
+ # rubocop:disable Style/NegatedIf
1369
+ # Query Params
1370
+ query_params = {}
1371
+
1372
+ # Header Params
1373
+ header_params = {}
1374
+ header_params[:accept] = 'application/json'
1375
+ header_params[:'content-type'] = 'application/json'
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: 'DataScienceClient#get_project') do
1383
+ @api_client.call_api(
1384
+ :GET,
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
+ return_type: 'OCI::DataScience::Models::Project'
1392
+ )
1393
+ end
1394
+ # rubocop:enable Metrics/BlockLength
1395
+ end
1396
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1397
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1398
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1399
+
1400
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1401
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1402
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1403
+
1404
+
1405
+ # Gets the specified work request's information.
1406
+ # @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
1407
+ # @param [Hash] opts the optional parameters
1408
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1409
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1410
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1411
+ #
1412
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::WorkRequest WorkRequest}
1413
+ def get_work_request(work_request_id, opts = {})
1414
+ logger.debug 'Calling operation DataScienceClient#get_work_request.' if logger
1415
+
1416
+ raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
1417
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1418
+
1419
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
1420
+ operation_signing_strategy = :standard
1421
+
1422
+ # rubocop:disable Style/NegatedIf
1423
+ # Query Params
1424
+ query_params = {}
1425
+
1426
+ # Header Params
1427
+ header_params = {}
1428
+ header_params[:accept] = 'application/json'
1429
+ header_params[:'content-type'] = 'application/json'
1430
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1431
+ # rubocop:enable Style/NegatedIf
1432
+
1433
+ post_body = nil
1434
+
1435
+ # rubocop:disable Metrics/BlockLength
1436
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_work_request') do
1437
+ @api_client.call_api(
1438
+ :GET,
1439
+ path,
1440
+ endpoint,
1441
+ header_params: header_params,
1442
+ query_params: query_params,
1443
+ operation_signing_strategy: operation_signing_strategy,
1444
+ body: post_body,
1445
+ return_type: 'OCI::DataScience::Models::WorkRequest'
1446
+ )
1447
+ end
1448
+ # rubocop:enable Metrics/BlockLength
1449
+ end
1450
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1451
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1452
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1453
+
1454
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1455
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1456
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1457
+
1458
+
1459
+ # Gets model artifact metadata for specified model.
1460
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
1461
+ # @param [Hash] opts the optional parameters
1462
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1463
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1464
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1465
+ #
1466
+ # @return [Response] A Response object with data of type nil
1467
+ def head_model_artifact(model_id, opts = {})
1468
+ logger.debug 'Calling operation DataScienceClient#head_model_artifact.' if logger
1469
+
1470
+ raise "Missing the required parameter 'model_id' when calling head_model_artifact." if model_id.nil?
1471
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
1472
+
1473
+ path = '/models/{modelId}/artifact/content'.sub('{modelId}', model_id.to_s)
1474
+ operation_signing_strategy = :standard
1475
+
1476
+ # rubocop:disable Style/NegatedIf
1477
+ # Query Params
1478
+ query_params = {}
1479
+
1480
+ # Header Params
1481
+ header_params = {}
1482
+ header_params[:accept] = 'application/json'
1483
+ header_params[:'content-type'] = 'application/json'
1484
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1485
+ # rubocop:enable Style/NegatedIf
1486
+
1487
+ post_body = nil
1488
+
1489
+ # rubocop:disable Metrics/BlockLength
1490
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#head_model_artifact') do
1491
+ @api_client.call_api(
1492
+ :HEAD,
1493
+ path,
1494
+ endpoint,
1495
+ header_params: header_params,
1496
+ query_params: query_params,
1497
+ operation_signing_strategy: operation_signing_strategy,
1498
+ body: post_body
1499
+ )
1500
+ end
1501
+ # rubocop:enable Metrics/BlockLength
1502
+ end
1503
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1504
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1505
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1506
+
1507
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1508
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1509
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1510
+
1511
+
1512
+ # Lists models in the specified compartment.
1513
+ # @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
1514
+ # @param [Hash] opts the optional parameters
1515
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1516
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1517
+ # @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
1518
+ #
1519
+ # @option opts [String] :project_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
1520
+ # @option opts [String] :display_name <b>Filter</b> results by its user-friendly name.
1521
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1522
+ # state for the resource type.
1523
+ #
1524
+ # @option opts [String] :created_by <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource.
1525
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1526
+ # or items to return in a paginated \"List\" call.
1527
+ # 1 is the minimum, 1000 is the maximum.
1528
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1529
+ #
1530
+ # Example: `500`
1531
+ # (default to 10)
1532
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1533
+ # header from the previous \"List\" call.
1534
+ #
1535
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1536
+ #
1537
+ # @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
1538
+ #
1539
+ # Allowed values are: ASC, DESC
1540
+ # @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
1541
+ # By default, when you sort by `timeCreated`, results are shown
1542
+ # in descending order. All other fields default to ascending order. Sort order for `displayName` field is case sensitive.
1543
+ #
1544
+ # Allowed values are: timeCreated, displayName, lifecycleState
1545
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1546
+ #
1547
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::ModelSummary ModelSummary}>
1548
+ def list_models(compartment_id, opts = {})
1549
+ logger.debug 'Calling operation DataScienceClient#list_models.' if logger
1550
+
1551
+ raise "Missing the required parameter 'compartment_id' when calling list_models." if compartment_id.nil?
1552
+
1553
+ if opts[:lifecycle_state] && !OCI::DataScience::Models::MODEL_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1554
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataScience::Models::MODEL_LIFECYCLE_STATE_ENUM.'
1555
+ end
1556
+
1557
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
1558
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1559
+ end
1560
+
1561
+ if opts[:sort_by] && !%w[timeCreated displayName lifecycleState].include?(opts[:sort_by])
1562
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName, lifecycleState.'
1563
+ end
1564
+
1565
+ path = '/models'
1566
+ operation_signing_strategy = :standard
1567
+
1568
+ # rubocop:disable Style/NegatedIf
1569
+ # Query Params
1570
+ query_params = {}
1571
+ query_params[:compartmentId] = compartment_id
1572
+ query_params[:id] = opts[:id] if opts[:id]
1573
+ query_params[:projectId] = opts[:project_id] if opts[:project_id]
1574
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1575
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1576
+ query_params[:createdBy] = opts[:created_by] if opts[:created_by]
1577
+ query_params[:limit] = opts[:limit] if opts[:limit]
1578
+ query_params[:page] = opts[:page] if opts[:page]
1579
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1580
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1581
+
1582
+ # Header Params
1583
+ header_params = {}
1584
+ header_params[:accept] = 'application/json'
1585
+ header_params[:'content-type'] = 'application/json'
1586
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1587
+ # rubocop:enable Style/NegatedIf
1588
+
1589
+ post_body = nil
1590
+
1591
+ # rubocop:disable Metrics/BlockLength
1592
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_models') do
1593
+ @api_client.call_api(
1594
+ :GET,
1595
+ path,
1596
+ endpoint,
1597
+ header_params: header_params,
1598
+ query_params: query_params,
1599
+ operation_signing_strategy: operation_signing_strategy,
1600
+ body: post_body,
1601
+ return_type: 'Array<OCI::DataScience::Models::ModelSummary>'
1602
+ )
1603
+ end
1604
+ # rubocop:enable Metrics/BlockLength
1605
+ end
1606
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1607
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1608
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1609
+
1610
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1611
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1612
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1613
+
1614
+
1615
+ # Lists the valid notebook session shapes.
1616
+ # @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
1617
+ # @param [Hash] opts the optional parameters
1618
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1619
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1620
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1621
+ #
1622
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1623
+ # or items to return in a paginated \"List\" call.
1624
+ # 1 is the minimum, 1000 is the maximum.
1625
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1626
+ #
1627
+ # Example: `500`
1628
+ # (default to 10)
1629
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1630
+ # header from the previous \"List\" call.
1631
+ #
1632
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1633
+ #
1634
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::NotebookSessionShapeSummary NotebookSessionShapeSummary}>
1635
+ def list_notebook_session_shapes(compartment_id, opts = {})
1636
+ logger.debug 'Calling operation DataScienceClient#list_notebook_session_shapes.' if logger
1637
+
1638
+ raise "Missing the required parameter 'compartment_id' when calling list_notebook_session_shapes." if compartment_id.nil?
1639
+
1640
+ path = '/notebookSessionShapes'
1641
+ operation_signing_strategy = :standard
1642
+
1643
+ # rubocop:disable Style/NegatedIf
1644
+ # Query Params
1645
+ query_params = {}
1646
+ query_params[:compartmentId] = compartment_id
1647
+ query_params[:limit] = opts[:limit] if opts[:limit]
1648
+ query_params[:page] = opts[:page] if opts[:page]
1649
+
1650
+ # Header Params
1651
+ header_params = {}
1652
+ header_params[:accept] = 'application/json'
1653
+ header_params[:'content-type'] = 'application/json'
1654
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1655
+ # rubocop:enable Style/NegatedIf
1656
+
1657
+ post_body = nil
1658
+
1659
+ # rubocop:disable Metrics/BlockLength
1660
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_notebook_session_shapes') do
1661
+ @api_client.call_api(
1662
+ :GET,
1663
+ path,
1664
+ endpoint,
1665
+ header_params: header_params,
1666
+ query_params: query_params,
1667
+ operation_signing_strategy: operation_signing_strategy,
1668
+ body: post_body,
1669
+ return_type: 'Array<OCI::DataScience::Models::NotebookSessionShapeSummary>'
1670
+ )
1671
+ end
1672
+ # rubocop:enable Metrics/BlockLength
1673
+ end
1674
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1675
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1676
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1677
+
1678
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1679
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1680
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1681
+
1682
+
1683
+ # Lists notebook sessions in the specified compartment.
1684
+ # @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
1685
+ # @param [Hash] opts the optional parameters
1686
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1687
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1688
+ # @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
1689
+ #
1690
+ # @option opts [String] :project_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
1691
+ # @option opts [String] :display_name <b>Filter</b> results by its user-friendly name.
1692
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1693
+ # state for the resource type.
1694
+ #
1695
+ # @option opts [String] :created_by <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource.
1696
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1697
+ # or items to return in a paginated \"List\" call.
1698
+ # 1 is the minimum, 1000 is the maximum.
1699
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1700
+ #
1701
+ # Example: `500`
1702
+ # (default to 10)
1703
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1704
+ # header from the previous \"List\" call.
1705
+ #
1706
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1707
+ #
1708
+ # @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
1709
+ #
1710
+ # Allowed values are: ASC, DESC
1711
+ # @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
1712
+ # By default, when you sort by `timeCreated`, results are shown
1713
+ # in descending order. When you sort by `displayName`, results are
1714
+ # shown in ascending order. Sort order for `displayName` field is case sensitive.
1715
+ #
1716
+ # Allowed values are: timeCreated, displayName
1717
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1718
+ #
1719
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::NotebookSessionSummary NotebookSessionSummary}>
1720
+ def list_notebook_sessions(compartment_id, opts = {})
1721
+ logger.debug 'Calling operation DataScienceClient#list_notebook_sessions.' if logger
1722
+
1723
+ raise "Missing the required parameter 'compartment_id' when calling list_notebook_sessions." if compartment_id.nil?
1724
+
1725
+ if opts[:lifecycle_state] && !OCI::DataScience::Models::NOTEBOOK_SESSION_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1726
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataScience::Models::NOTEBOOK_SESSION_LIFECYCLE_STATE_ENUM.'
1727
+ end
1728
+
1729
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
1730
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1731
+ end
1732
+
1733
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
1734
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
1735
+ end
1736
+
1737
+ path = '/notebookSessions'
1738
+ operation_signing_strategy = :standard
1739
+
1740
+ # rubocop:disable Style/NegatedIf
1741
+ # Query Params
1742
+ query_params = {}
1743
+ query_params[:compartmentId] = compartment_id
1744
+ query_params[:id] = opts[:id] if opts[:id]
1745
+ query_params[:projectId] = opts[:project_id] if opts[:project_id]
1746
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1747
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1748
+ query_params[:createdBy] = opts[:created_by] if opts[:created_by]
1749
+ query_params[:limit] = opts[:limit] if opts[:limit]
1750
+ query_params[:page] = opts[:page] if opts[:page]
1751
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1752
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1753
+
1754
+ # Header Params
1755
+ header_params = {}
1756
+ header_params[:accept] = 'application/json'
1757
+ header_params[:'content-type'] = 'application/json'
1758
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1759
+ # rubocop:enable Style/NegatedIf
1760
+
1761
+ post_body = nil
1762
+
1763
+ # rubocop:disable Metrics/BlockLength
1764
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_notebook_sessions') do
1765
+ @api_client.call_api(
1766
+ :GET,
1767
+ path,
1768
+ endpoint,
1769
+ header_params: header_params,
1770
+ query_params: query_params,
1771
+ operation_signing_strategy: operation_signing_strategy,
1772
+ body: post_body,
1773
+ return_type: 'Array<OCI::DataScience::Models::NotebookSessionSummary>'
1774
+ )
1775
+ end
1776
+ # rubocop:enable Metrics/BlockLength
1777
+ end
1778
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1779
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1780
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1781
+
1782
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1783
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1784
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1785
+
1786
+
1787
+ # Lists projects in the specified compartment.
1788
+ # @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
1789
+ # @param [Hash] opts the optional parameters
1790
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1791
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1792
+ # @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
1793
+ #
1794
+ # @option opts [String] :display_name <b>Filter</b> results by its user-friendly name.
1795
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1796
+ # state for the resource type.
1797
+ #
1798
+ # @option opts [String] :created_by <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource.
1799
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1800
+ # or items to return in a paginated \"List\" call.
1801
+ # 1 is the minimum, 1000 is the maximum.
1802
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1803
+ #
1804
+ # Example: `500`
1805
+ # (default to 10)
1806
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1807
+ # header from the previous \"List\" call.
1808
+ #
1809
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1810
+ #
1811
+ # @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
1812
+ #
1813
+ # Allowed values are: ASC, DESC
1814
+ # @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
1815
+ # By default, when you sort by `timeCreated`, results are shown
1816
+ # in descending order. When you sort by `displayName`, results are
1817
+ # shown in ascending order. Sort order for `displayName` field is case sensitive.
1818
+ #
1819
+ # Allowed values are: timeCreated, displayName
1820
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1821
+ #
1822
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::ProjectSummary ProjectSummary}>
1823
+ def list_projects(compartment_id, opts = {})
1824
+ logger.debug 'Calling operation DataScienceClient#list_projects.' if logger
1825
+
1826
+ raise "Missing the required parameter 'compartment_id' when calling list_projects." if compartment_id.nil?
1827
+
1828
+ if opts[:lifecycle_state] && !OCI::DataScience::Models::PROJECT_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1829
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataScience::Models::PROJECT_LIFECYCLE_STATE_ENUM.'
1830
+ end
1831
+
1832
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
1833
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1834
+ end
1835
+
1836
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
1837
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
1838
+ end
1839
+
1840
+ path = '/projects'
1841
+ operation_signing_strategy = :standard
1842
+
1843
+ # rubocop:disable Style/NegatedIf
1844
+ # Query Params
1845
+ query_params = {}
1846
+ query_params[:compartmentId] = compartment_id
1847
+ query_params[:id] = opts[:id] if opts[:id]
1848
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1849
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1850
+ query_params[:createdBy] = opts[:created_by] if opts[:created_by]
1851
+ query_params[:limit] = opts[:limit] if opts[:limit]
1852
+ query_params[:page] = opts[:page] if opts[:page]
1853
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1854
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1855
+
1856
+ # Header Params
1857
+ header_params = {}
1858
+ header_params[:accept] = 'application/json'
1859
+ header_params[:'content-type'] = 'application/json'
1860
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1861
+ # rubocop:enable Style/NegatedIf
1862
+
1863
+ post_body = nil
1864
+
1865
+ # rubocop:disable Metrics/BlockLength
1866
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_projects') do
1867
+ @api_client.call_api(
1868
+ :GET,
1869
+ path,
1870
+ endpoint,
1871
+ header_params: header_params,
1872
+ query_params: query_params,
1873
+ operation_signing_strategy: operation_signing_strategy,
1874
+ body: post_body,
1875
+ return_type: 'Array<OCI::DataScience::Models::ProjectSummary>'
1876
+ )
1877
+ end
1878
+ # rubocop:enable Metrics/BlockLength
1879
+ end
1880
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1881
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1882
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1883
+
1884
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1885
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1886
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1887
+
1888
+
1889
+ # Lists work request errors for the specified work request.
1890
+ # @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
1891
+ # @param [Hash] opts the optional parameters
1892
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1893
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1894
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1895
+ #
1896
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::WorkRequestError WorkRequestError}>
1897
+ def list_work_request_errors(work_request_id, opts = {})
1898
+ logger.debug 'Calling operation DataScienceClient#list_work_request_errors.' if logger
1899
+
1900
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
1901
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1902
+
1903
+ path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
1904
+ operation_signing_strategy = :standard
1905
+
1906
+ # rubocop:disable Style/NegatedIf
1907
+ # Query Params
1908
+ query_params = {}
1909
+
1910
+ # Header Params
1911
+ header_params = {}
1912
+ header_params[:accept] = 'application/json'
1913
+ header_params[:'content-type'] = 'application/json'
1914
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1915
+ # rubocop:enable Style/NegatedIf
1916
+
1917
+ post_body = nil
1918
+
1919
+ # rubocop:disable Metrics/BlockLength
1920
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_work_request_errors') do
1921
+ @api_client.call_api(
1922
+ :GET,
1923
+ path,
1924
+ endpoint,
1925
+ header_params: header_params,
1926
+ query_params: query_params,
1927
+ operation_signing_strategy: operation_signing_strategy,
1928
+ body: post_body,
1929
+ return_type: 'Array<OCI::DataScience::Models::WorkRequestError>'
1930
+ )
1931
+ end
1932
+ # rubocop:enable Metrics/BlockLength
1933
+ end
1934
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1935
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1936
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1937
+
1938
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1939
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1940
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1941
+
1942
+
1943
+ # Lists work request logs for the specified work request.
1944
+ # @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
1945
+ # @param [Hash] opts the optional parameters
1946
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1947
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1948
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1949
+ #
1950
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::WorkRequestLogEntry WorkRequestLogEntry}>
1951
+ def list_work_request_logs(work_request_id, opts = {})
1952
+ logger.debug 'Calling operation DataScienceClient#list_work_request_logs.' if logger
1953
+
1954
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
1955
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1956
+
1957
+ path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
1958
+ operation_signing_strategy = :standard
1959
+
1960
+ # rubocop:disable Style/NegatedIf
1961
+ # Query Params
1962
+ query_params = {}
1963
+
1964
+ # Header Params
1965
+ header_params = {}
1966
+ header_params[:accept] = 'application/json'
1967
+ header_params[:'content-type'] = 'application/json'
1968
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1969
+ # rubocop:enable Style/NegatedIf
1970
+
1971
+ post_body = nil
1972
+
1973
+ # rubocop:disable Metrics/BlockLength
1974
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_work_request_logs') do
1975
+ @api_client.call_api(
1976
+ :GET,
1977
+ path,
1978
+ endpoint,
1979
+ header_params: header_params,
1980
+ query_params: query_params,
1981
+ operation_signing_strategy: operation_signing_strategy,
1982
+ body: post_body,
1983
+ return_type: 'Array<OCI::DataScience::Models::WorkRequestLogEntry>'
1984
+ )
1985
+ end
1986
+ # rubocop:enable Metrics/BlockLength
1987
+ end
1988
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1989
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1990
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1991
+
1992
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1993
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1994
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1995
+
1996
+
1997
+ # Lists work requests in the specified compartment.
1998
+ # @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
1999
+ # @param [Hash] opts the optional parameters
2000
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2001
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2002
+ # @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
2003
+ #
2004
+ # @option opts [String] :operation_type <b>Filter</b> results by the type of the operation associated with the work request.
2005
+ # Allowed values are: NOTEBOOK_SESSION_CREATE, NOTEBOOK_SESSION_DELETE, NOTEBOOK_SESSION_ACTIVATE, NOTEBOOK_SESSION_DEACTIVATE, PROJECT_DELETE, WORKREQUEST_CANCEL
2006
+ # @option opts [String] :status <b>Filter</b> results by work request status.
2007
+ # Allowed values are: ACCEPTED, IN_PROGRESS, FAILED, SUCCEEDED, CANCELING, CANCELED
2008
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
2009
+ # or items to return in a paginated \"List\" call.
2010
+ # 1 is the minimum, 1000 is the maximum.
2011
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
2012
+ #
2013
+ # Example: `500`
2014
+ # (default to 10)
2015
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
2016
+ # header from the previous \"List\" call.
2017
+ #
2018
+ # See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
2019
+ #
2020
+ # @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
2021
+ #
2022
+ # Allowed values are: ASC, DESC
2023
+ # @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order.
2024
+ #
2025
+ # Allowed values are: operationType, status, timeAccepted
2026
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
2027
+ #
2028
+ # @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::WorkRequestSummary WorkRequestSummary}>
2029
+ def list_work_requests(compartment_id, opts = {})
2030
+ logger.debug 'Calling operation DataScienceClient#list_work_requests.' if logger
2031
+
2032
+ raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
2033
+
2034
+ if opts[:operation_type] && !%w[NOTEBOOK_SESSION_CREATE NOTEBOOK_SESSION_DELETE NOTEBOOK_SESSION_ACTIVATE NOTEBOOK_SESSION_DEACTIVATE PROJECT_DELETE WORKREQUEST_CANCEL].include?(opts[:operation_type])
2035
+ raise 'Invalid value for "operation_type", must be one of NOTEBOOK_SESSION_CREATE, NOTEBOOK_SESSION_DELETE, NOTEBOOK_SESSION_ACTIVATE, NOTEBOOK_SESSION_DEACTIVATE, PROJECT_DELETE, WORKREQUEST_CANCEL.'
2036
+ end
2037
+
2038
+ if opts[:status] && !%w[ACCEPTED IN_PROGRESS FAILED SUCCEEDED CANCELING CANCELED].include?(opts[:status])
2039
+ raise 'Invalid value for "status", must be one of ACCEPTED, IN_PROGRESS, FAILED, SUCCEEDED, CANCELING, CANCELED.'
2040
+ end
2041
+
2042
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2043
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2044
+ end
2045
+
2046
+ if opts[:sort_by] && !%w[operationType status timeAccepted].include?(opts[:sort_by])
2047
+ raise 'Invalid value for "sort_by", must be one of operationType, status, timeAccepted.'
2048
+ end
2049
+
2050
+ path = '/workRequests'
2051
+ operation_signing_strategy = :standard
2052
+
2053
+ # rubocop:disable Style/NegatedIf
2054
+ # Query Params
2055
+ query_params = {}
2056
+ query_params[:compartmentId] = compartment_id
2057
+ query_params[:id] = opts[:id] if opts[:id]
2058
+ query_params[:operationType] = opts[:operation_type] if opts[:operation_type]
2059
+ query_params[:status] = opts[:status] if opts[:status]
2060
+ query_params[:limit] = opts[:limit] if opts[:limit]
2061
+ query_params[:page] = opts[:page] if opts[:page]
2062
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2063
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2064
+
2065
+ # Header Params
2066
+ header_params = {}
2067
+ header_params[:accept] = 'application/json'
2068
+ header_params[:'content-type'] = 'application/json'
2069
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2070
+ # rubocop:enable Style/NegatedIf
2071
+
2072
+ post_body = nil
2073
+
2074
+ # rubocop:disable Metrics/BlockLength
2075
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_work_requests') do
2076
+ @api_client.call_api(
2077
+ :GET,
2078
+ path,
2079
+ endpoint,
2080
+ header_params: header_params,
2081
+ query_params: query_params,
2082
+ operation_signing_strategy: operation_signing_strategy,
2083
+ body: post_body,
2084
+ return_type: 'Array<OCI::DataScience::Models::WorkRequestSummary>'
2085
+ )
2086
+ end
2087
+ # rubocop:enable Metrics/BlockLength
2088
+ end
2089
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2090
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2091
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2092
+
2093
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2094
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2095
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2096
+
2097
+
2098
+ # Updates the properties of a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
2099
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
2100
+ # @param [OCI::DataScience::Models::UpdateModelDetails] update_model_details Details for updating a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
2101
+ # @param [Hash] opts the optional parameters
2102
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2103
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2104
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2105
+ # for a resource, set the `if-match` parameter to the value of the
2106
+ # etag from a previous GET or POST response for that resource.
2107
+ # The resource will be updated or deleted only if the `etag` you
2108
+ # provide matches the resource's current `etag` value.
2109
+ #
2110
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
2111
+ #
2112
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
2113
+ def update_model(model_id, update_model_details, opts = {})
2114
+ logger.debug 'Calling operation DataScienceClient#update_model.' if logger
2115
+
2116
+ raise "Missing the required parameter 'model_id' when calling update_model." if model_id.nil?
2117
+ raise "Missing the required parameter 'update_model_details' when calling update_model." if update_model_details.nil?
2118
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
2119
+
2120
+ path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
2121
+ operation_signing_strategy = :standard
2122
+
2123
+ # rubocop:disable Style/NegatedIf
2124
+ # Query Params
2125
+ query_params = {}
2126
+
2127
+ # Header Params
2128
+ header_params = {}
2129
+ header_params[:accept] = 'application/json'
2130
+ header_params[:'content-type'] = 'application/json'
2131
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2132
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2133
+ # rubocop:enable Style/NegatedIf
2134
+
2135
+ post_body = @api_client.object_to_http_body(update_model_details)
2136
+
2137
+ # rubocop:disable Metrics/BlockLength
2138
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_model') do
2139
+ @api_client.call_api(
2140
+ :PUT,
2141
+ path,
2142
+ endpoint,
2143
+ header_params: header_params,
2144
+ query_params: query_params,
2145
+ operation_signing_strategy: operation_signing_strategy,
2146
+ body: post_body,
2147
+ return_type: 'OCI::DataScience::Models::Model'
2148
+ )
2149
+ end
2150
+ # rubocop:enable Metrics/BlockLength
2151
+ end
2152
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2153
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2154
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2155
+
2156
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2157
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2158
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2159
+
2160
+
2161
+ # Updates provenance information for the specified model.
2162
+ # @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
2163
+ # @param [OCI::DataScience::Models::UpdateModelProvenanceDetails] update_model_provenance_details Provenance information for the specified model.
2164
+ # @param [Hash] opts the optional parameters
2165
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2166
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2167
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
2168
+ #
2169
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2170
+ # for a resource, set the `if-match` parameter to the value of the
2171
+ # etag from a previous GET or POST response for that resource.
2172
+ # The resource will be updated or deleted only if the `etag` you
2173
+ # provide matches the resource's current `etag` value.
2174
+ #
2175
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::ModelProvenance ModelProvenance}
2176
+ def update_model_provenance(model_id, update_model_provenance_details, opts = {})
2177
+ logger.debug 'Calling operation DataScienceClient#update_model_provenance.' if logger
2178
+
2179
+ raise "Missing the required parameter 'model_id' when calling update_model_provenance." if model_id.nil?
2180
+ raise "Missing the required parameter 'update_model_provenance_details' when calling update_model_provenance." if update_model_provenance_details.nil?
2181
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
2182
+
2183
+ path = '/models/{modelId}/provenance'.sub('{modelId}', model_id.to_s)
2184
+ operation_signing_strategy = :standard
2185
+
2186
+ # rubocop:disable Style/NegatedIf
2187
+ # Query Params
2188
+ query_params = {}
2189
+
2190
+ # Header Params
2191
+ header_params = {}
2192
+ header_params[:accept] = 'application/json'
2193
+ header_params[:'content-type'] = 'application/json'
2194
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2195
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2196
+ # rubocop:enable Style/NegatedIf
2197
+
2198
+ post_body = @api_client.object_to_http_body(update_model_provenance_details)
2199
+
2200
+ # rubocop:disable Metrics/BlockLength
2201
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_model_provenance') do
2202
+ @api_client.call_api(
2203
+ :PUT,
2204
+ path,
2205
+ endpoint,
2206
+ header_params: header_params,
2207
+ query_params: query_params,
2208
+ operation_signing_strategy: operation_signing_strategy,
2209
+ body: post_body,
2210
+ return_type: 'OCI::DataScience::Models::ModelProvenance'
2211
+ )
2212
+ end
2213
+ # rubocop:enable Metrics/BlockLength
2214
+ end
2215
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2216
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2217
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2218
+
2219
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2220
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2221
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2222
+
2223
+
2224
+ # Updates the properties of a notebook session. You can update the `displayName`, `freeformTags`, and `definedTags` properties.
2225
+ # When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`.
2226
+ # Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
2227
+ #
2228
+ # @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
2229
+ # @param [OCI::DataScience::Models::UpdateNotebookSessionDetails] update_notebook_session_details Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state.
2230
+ # Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
2231
+ #
2232
+ # @param [Hash] opts the optional parameters
2233
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2234
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2235
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2236
+ # for a resource, set the `if-match` parameter to the value of the
2237
+ # etag from a previous GET or POST response for that resource.
2238
+ # The resource will be updated or deleted only if the `etag` you
2239
+ # provide matches the resource's current `etag` value.
2240
+ #
2241
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
2242
+ #
2243
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::NotebookSession NotebookSession}
2244
+ def update_notebook_session(notebook_session_id, update_notebook_session_details, opts = {})
2245
+ logger.debug 'Calling operation DataScienceClient#update_notebook_session.' if logger
2246
+
2247
+ raise "Missing the required parameter 'notebook_session_id' when calling update_notebook_session." if notebook_session_id.nil?
2248
+ raise "Missing the required parameter 'update_notebook_session_details' when calling update_notebook_session." if update_notebook_session_details.nil?
2249
+ raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
2250
+
2251
+ path = '/notebookSessions/{notebookSessionId}'.sub('{notebookSessionId}', notebook_session_id.to_s)
2252
+ operation_signing_strategy = :standard
2253
+
2254
+ # rubocop:disable Style/NegatedIf
2255
+ # Query Params
2256
+ query_params = {}
2257
+
2258
+ # Header Params
2259
+ header_params = {}
2260
+ header_params[:accept] = 'application/json'
2261
+ header_params[:'content-type'] = 'application/json'
2262
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2263
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2264
+ # rubocop:enable Style/NegatedIf
2265
+
2266
+ post_body = @api_client.object_to_http_body(update_notebook_session_details)
2267
+
2268
+ # rubocop:disable Metrics/BlockLength
2269
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_notebook_session') do
2270
+ @api_client.call_api(
2271
+ :PUT,
2272
+ path,
2273
+ endpoint,
2274
+ header_params: header_params,
2275
+ query_params: query_params,
2276
+ operation_signing_strategy: operation_signing_strategy,
2277
+ body: post_body,
2278
+ return_type: 'OCI::DataScience::Models::NotebookSession'
2279
+ )
2280
+ end
2281
+ # rubocop:enable Metrics/BlockLength
2282
+ end
2283
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2284
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2285
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2286
+
2287
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2288
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2289
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2290
+
2291
+
2292
+ # Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
2293
+ # @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
2294
+ # @param [OCI::DataScience::Models::UpdateProjectDetails] update_project_details Details for updating a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
2295
+ # @param [Hash] opts the optional parameters
2296
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2297
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2298
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2299
+ # for a resource, set the `if-match` parameter to the value of the
2300
+ # etag from a previous GET or POST response for that resource.
2301
+ # The resource will be updated or deleted only if the `etag` you
2302
+ # provide matches the resource's current `etag` value.
2303
+ #
2304
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
2305
+ #
2306
+ # @return [Response] A Response object with data of type {OCI::DataScience::Models::Project Project}
2307
+ def update_project(project_id, update_project_details, opts = {})
2308
+ logger.debug 'Calling operation DataScienceClient#update_project.' if logger
2309
+
2310
+ raise "Missing the required parameter 'project_id' when calling update_project." if project_id.nil?
2311
+ raise "Missing the required parameter 'update_project_details' when calling update_project." if update_project_details.nil?
2312
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
2313
+
2314
+ path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
2315
+ operation_signing_strategy = :standard
2316
+
2317
+ # rubocop:disable Style/NegatedIf
2318
+ # Query Params
2319
+ query_params = {}
2320
+
2321
+ # Header Params
2322
+ header_params = {}
2323
+ header_params[:accept] = 'application/json'
2324
+ header_params[:'content-type'] = 'application/json'
2325
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2326
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2327
+ # rubocop:enable Style/NegatedIf
2328
+
2329
+ post_body = @api_client.object_to_http_body(update_project_details)
2330
+
2331
+ # rubocop:disable Metrics/BlockLength
2332
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_project') do
2333
+ @api_client.call_api(
2334
+ :PUT,
2335
+ path,
2336
+ endpoint,
2337
+ header_params: header_params,
2338
+ query_params: query_params,
2339
+ operation_signing_strategy: operation_signing_strategy,
2340
+ body: post_body,
2341
+ return_type: 'OCI::DataScience::Models::Project'
2342
+ )
2343
+ end
2344
+ # rubocop:enable Metrics/BlockLength
2345
+ end
2346
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2347
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2348
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2349
+
2350
+ private
2351
+
2352
+ def applicable_retry_config(opts = {})
2353
+ return @retry_config unless opts.key?(:retry_config)
2354
+
2355
+ opts[:retry_config]
2356
+ end
2357
+ end
2358
+ end
2359
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength