oci 2.3.8 → 2.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/lib/oci/api_client.rb +5 -0
  4. data/lib/oci/audit/audit_client.rb +1 -0
  5. data/lib/oci/audit/models/audit_event.rb +5 -2
  6. data/lib/oci/audit/models/configuration.rb +5 -2
  7. data/lib/oci/audit/models/update_configuration_details.rb +5 -2
  8. data/lib/oci/base_signer.rb +2 -1
  9. data/lib/oci/config.rb +1 -0
  10. data/lib/oci/config_file_loader.rb +2 -0
  11. data/lib/oci/container_engine/container_engine_client.rb +1 -0
  12. data/lib/oci/container_engine/models/add_on_options.rb +5 -2
  13. data/lib/oci/container_engine/models/cluster.rb +5 -2
  14. data/lib/oci/container_engine/models/cluster_create_options.rb +5 -2
  15. data/lib/oci/container_engine/models/cluster_endpoints.rb +5 -2
  16. data/lib/oci/container_engine/models/cluster_metadata.rb +5 -2
  17. data/lib/oci/container_engine/models/cluster_options.rb +5 -2
  18. data/lib/oci/container_engine/models/cluster_summary.rb +5 -2
  19. data/lib/oci/container_engine/models/create_cluster_details.rb +5 -2
  20. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +5 -2
  21. data/lib/oci/container_engine/models/create_node_pool_details.rb +5 -2
  22. data/lib/oci/container_engine/models/key_value.rb +5 -2
  23. data/lib/oci/container_engine/models/kubernetes_network_config.rb +5 -2
  24. data/lib/oci/container_engine/models/node.rb +5 -2
  25. data/lib/oci/container_engine/models/node_error.rb +5 -2
  26. data/lib/oci/container_engine/models/node_pool.rb +5 -2
  27. data/lib/oci/container_engine/models/node_pool_options.rb +5 -2
  28. data/lib/oci/container_engine/models/node_pool_summary.rb +5 -2
  29. data/lib/oci/container_engine/models/update_cluster_details.rb +5 -2
  30. data/lib/oci/container_engine/models/update_node_pool_details.rb +5 -2
  31. data/lib/oci/container_engine/models/work_request.rb +5 -2
  32. data/lib/oci/container_engine/models/work_request_error.rb +5 -2
  33. data/lib/oci/container_engine/models/work_request_log_entry.rb +5 -2
  34. data/lib/oci/container_engine/models/work_request_resource.rb +5 -2
  35. data/lib/oci/container_engine/models/work_request_summary.rb +5 -2
  36. data/lib/oci/core/blockstorage_client.rb +72 -1
  37. data/lib/oci/core/blockstorage_client_composite_operations.rb +40 -0
  38. data/lib/oci/core/compute_client.rb +1 -0
  39. data/lib/oci/core/compute_management_client.rb +1179 -0
  40. data/lib/oci/core/compute_management_client_composite_operations.rb +299 -0
  41. data/lib/oci/core/core.rb +32 -0
  42. data/lib/oci/core/models/app_catalog_listing.rb +5 -2
  43. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +5 -2
  44. data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +5 -2
  45. data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +5 -2
  46. data/lib/oci/core/models/app_catalog_listing_summary.rb +5 -2
  47. data/lib/oci/core/models/app_catalog_subscription.rb +5 -2
  48. data/lib/oci/core/models/app_catalog_subscription_summary.rb +5 -2
  49. data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
  50. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -2
  51. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +5 -2
  52. data/lib/oci/core/models/attach_vnic_details.rb +5 -2
  53. data/lib/oci/core/models/attach_volume_details.rb +5 -2
  54. data/lib/oci/core/models/boot_volume.rb +5 -2
  55. data/lib/oci/core/models/boot_volume_attachment.rb +5 -2
  56. data/lib/oci/core/models/boot_volume_backup.rb +5 -2
  57. data/lib/oci/core/models/boot_volume_kms_key.rb +5 -2
  58. data/lib/oci/core/models/boot_volume_source_details.rb +5 -2
  59. data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +5 -2
  60. data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +5 -2
  61. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +5 -2
  62. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +5 -2
  63. data/lib/oci/core/models/capture_console_history_details.rb +5 -2
  64. data/lib/oci/core/models/compute_instance_details.rb +186 -0
  65. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +5 -2
  66. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +5 -2
  67. data/lib/oci/core/models/console_history.rb +5 -2
  68. data/lib/oci/core/models/copy_volume_backup_details.rb +172 -0
  69. data/lib/oci/core/models/cpe.rb +5 -2
  70. data/lib/oci/core/models/create_app_catalog_subscription_details.rb +5 -2
  71. data/lib/oci/core/models/create_boot_volume_backup_details.rb +6 -2
  72. data/lib/oci/core/models/create_boot_volume_details.rb +5 -2
  73. data/lib/oci/core/models/create_cpe_details.rb +5 -2
  74. data/lib/oci/core/models/create_cross_connect_details.rb +5 -2
  75. data/lib/oci/core/models/create_cross_connect_group_details.rb +5 -2
  76. data/lib/oci/core/models/create_dhcp_details.rb +5 -2
  77. data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
  78. data/lib/oci/core/models/create_drg_details.rb +5 -2
  79. data/lib/oci/core/models/create_image_details.rb +6 -2
  80. data/lib/oci/core/models/create_instance_configuration_details.rb +221 -0
  81. data/lib/oci/core/models/create_instance_console_connection_details.rb +5 -2
  82. data/lib/oci/core/models/create_instance_pool_details.rb +244 -0
  83. data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +183 -0
  84. data/lib/oci/core/models/create_internet_gateway_details.rb +5 -2
  85. data/lib/oci/core/models/create_ip_sec_connection_details.rb +5 -2
  86. data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
  87. data/lib/oci/core/models/create_nat_gateway_details.rb +5 -2
  88. data/lib/oci/core/models/create_private_ip_details.rb +5 -2
  89. data/lib/oci/core/models/create_public_ip_details.rb +6 -2
  90. data/lib/oci/core/models/create_remote_peering_connection_details.rb +5 -2
  91. data/lib/oci/core/models/create_route_table_details.rb +5 -2
  92. data/lib/oci/core/models/create_security_list_details.rb +5 -2
  93. data/lib/oci/core/models/create_service_gateway_details.rb +5 -2
  94. data/lib/oci/core/models/create_subnet_details.rb +11 -8
  95. data/lib/oci/core/models/create_vcn_details.rb +5 -2
  96. data/lib/oci/core/models/create_virtual_circuit_details.rb +6 -2
  97. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +5 -2
  98. data/lib/oci/core/models/create_vnic_details.rb +5 -2
  99. data/lib/oci/core/models/create_volume_backup_details.rb +6 -2
  100. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +5 -2
  101. data/lib/oci/core/models/create_volume_details.rb +5 -2
  102. data/lib/oci/core/models/create_volume_group_backup_details.rb +6 -2
  103. data/lib/oci/core/models/create_volume_group_details.rb +5 -2
  104. data/lib/oci/core/models/cross_connect.rb +5 -2
  105. data/lib/oci/core/models/cross_connect_group.rb +5 -2
  106. data/lib/oci/core/models/cross_connect_location.rb +5 -2
  107. data/lib/oci/core/models/cross_connect_mapping.rb +5 -2
  108. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +5 -2
  109. data/lib/oci/core/models/cross_connect_status.rb +5 -2
  110. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +5 -2
  111. data/lib/oci/core/models/dhcp_dns_option.rb +5 -2
  112. data/lib/oci/core/models/dhcp_option.rb +5 -2
  113. data/lib/oci/core/models/dhcp_options.rb +5 -2
  114. data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -2
  115. data/lib/oci/core/models/drg.rb +5 -2
  116. data/lib/oci/core/models/drg_attachment.rb +5 -2
  117. data/lib/oci/core/models/egress_security_rule.rb +5 -2
  118. data/lib/oci/core/models/export_image_details.rb +5 -2
  119. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +5 -2
  120. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +5 -2
  121. data/lib/oci/core/models/fast_connect_provider_service.rb +5 -2
  122. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +5 -2
  123. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +5 -2
  124. data/lib/oci/core/models/i_scsi_volume_attachment.rb +5 -2
  125. data/lib/oci/core/models/icmp_options.rb +5 -2
  126. data/lib/oci/core/models/image.rb +5 -2
  127. data/lib/oci/core/models/image_source_details.rb +6 -2
  128. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +5 -2
  129. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +5 -2
  130. data/lib/oci/core/models/ingress_security_rule.rb +5 -2
  131. data/lib/oci/core/models/instance.rb +27 -6
  132. data/lib/oci/core/models/instance_configuration.rb +259 -0
  133. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +188 -0
  134. data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +196 -0
  135. data/lib/oci/core/models/instance_configuration_block_volume_details.rb +180 -0
  136. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +221 -0
  137. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +271 -0
  138. data/lib/oci/core/models/instance_configuration_instance_details.rb +170 -0
  139. data/lib/oci/core/models/instance_configuration_instance_source_details.rb +173 -0
  140. data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +161 -0
  141. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +161 -0
  142. data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +169 -0
  143. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +395 -0
  144. data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +152 -0
  145. data/lib/oci/core/models/instance_configuration_summary.rb +196 -0
  146. data/lib/oci/core/models/instance_configuration_volume_source_details.rb +166 -0
  147. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +157 -0
  148. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +157 -0
  149. data/lib/oci/core/models/instance_console_connection.rb +5 -2
  150. data/lib/oci/core/models/instance_credentials.rb +5 -2
  151. data/lib/oci/core/models/instance_pool.rb +310 -0
  152. data/lib/oci/core/models/instance_pool_placement_configuration.rb +183 -0
  153. data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +169 -0
  154. data/lib/oci/core/models/instance_pool_summary.rb +273 -0
  155. data/lib/oci/core/models/instance_source_details.rb +5 -2
  156. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +5 -2
  157. data/lib/oci/core/models/instance_source_via_image_details.rb +5 -2
  158. data/lib/oci/core/models/instance_summary.rb +269 -0
  159. data/lib/oci/core/models/internet_gateway.rb +5 -2
  160. data/lib/oci/core/models/ip_sec_connection.rb +5 -2
  161. data/lib/oci/core/models/ip_sec_connection_device_config.rb +5 -2
  162. data/lib/oci/core/models/ip_sec_connection_device_status.rb +5 -2
  163. data/lib/oci/core/models/launch_instance_details.rb +5 -2
  164. data/lib/oci/core/models/launch_options.rb +5 -2
  165. data/lib/oci/core/models/letter_of_authority.rb +5 -2
  166. data/lib/oci/core/models/local_peering_gateway.rb +5 -2
  167. data/lib/oci/core/models/nat_gateway.rb +5 -2
  168. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +5 -2
  169. data/lib/oci/core/models/peer_region_for_remote_peering.rb +5 -2
  170. data/lib/oci/core/models/port_range.rb +5 -2
  171. data/lib/oci/core/models/private_ip.rb +5 -2
  172. data/lib/oci/core/models/public_ip.rb +5 -2
  173. data/lib/oci/core/models/remote_peering_connection.rb +5 -2
  174. data/lib/oci/core/models/route_rule.rb +5 -2
  175. data/lib/oci/core/models/route_table.rb +5 -2
  176. data/lib/oci/core/models/security_list.rb +5 -2
  177. data/lib/oci/core/models/service.rb +5 -2
  178. data/lib/oci/core/models/service_gateway.rb +5 -2
  179. data/lib/oci/core/models/service_id_request_details.rb +5 -2
  180. data/lib/oci/core/models/service_id_response_details.rb +5 -2
  181. data/lib/oci/core/models/shape.rb +5 -2
  182. data/lib/oci/core/models/subnet.rb +11 -5
  183. data/lib/oci/core/models/tcp_options.rb +5 -2
  184. data/lib/oci/core/models/tunnel_config.rb +5 -2
  185. data/lib/oci/core/models/tunnel_status.rb +5 -2
  186. data/lib/oci/core/models/udp_options.rb +5 -2
  187. data/lib/oci/core/models/update_boot_volume_backup_details.rb +5 -2
  188. data/lib/oci/core/models/update_boot_volume_details.rb +5 -2
  189. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -2
  190. data/lib/oci/core/models/update_console_history_details.rb +5 -2
  191. data/lib/oci/core/models/update_cpe_details.rb +5 -2
  192. data/lib/oci/core/models/update_cross_connect_details.rb +5 -2
  193. data/lib/oci/core/models/update_cross_connect_group_details.rb +5 -2
  194. data/lib/oci/core/models/update_dhcp_details.rb +5 -2
  195. data/lib/oci/core/models/update_drg_attachment_details.rb +5 -2
  196. data/lib/oci/core/models/update_drg_details.rb +5 -2
  197. data/lib/oci/core/models/update_image_details.rb +5 -2
  198. data/lib/oci/core/models/update_instance_configuration_details.rb +194 -0
  199. data/lib/oci/core/models/update_instance_details.rb +5 -2
  200. data/lib/oci/core/models/update_instance_pool_details.rb +230 -0
  201. data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +183 -0
  202. data/lib/oci/core/models/update_internet_gateway_details.rb +5 -2
  203. data/lib/oci/core/models/update_ip_sec_connection_details.rb +5 -2
  204. data/lib/oci/core/models/update_local_peering_gateway_details.rb +5 -2
  205. data/lib/oci/core/models/update_nat_gateway_details.rb +5 -2
  206. data/lib/oci/core/models/update_private_ip_details.rb +5 -2
  207. data/lib/oci/core/models/update_public_ip_details.rb +5 -2
  208. data/lib/oci/core/models/update_remote_peering_connection_details.rb +5 -2
  209. data/lib/oci/core/models/update_route_table_details.rb +5 -2
  210. data/lib/oci/core/models/update_security_list_details.rb +5 -2
  211. data/lib/oci/core/models/update_service_gateway_details.rb +5 -2
  212. data/lib/oci/core/models/update_subnet_details.rb +5 -2
  213. data/lib/oci/core/models/update_vcn_details.rb +5 -2
  214. data/lib/oci/core/models/update_virtual_circuit_details.rb +6 -2
  215. data/lib/oci/core/models/update_vnic_details.rb +5 -2
  216. data/lib/oci/core/models/update_volume_backup_details.rb +5 -2
  217. data/lib/oci/core/models/update_volume_details.rb +5 -2
  218. data/lib/oci/core/models/update_volume_group_backup_details.rb +5 -2
  219. data/lib/oci/core/models/update_volume_group_details.rb +5 -2
  220. data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -2
  221. data/lib/oci/core/models/vcn.rb +5 -2
  222. data/lib/oci/core/models/virtual_circuit.rb +5 -2
  223. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -2
  224. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +5 -2
  225. data/lib/oci/core/models/vnic.rb +5 -2
  226. data/lib/oci/core/models/vnic_attachment.rb +5 -2
  227. data/lib/oci/core/models/volume.rb +5 -2
  228. data/lib/oci/core/models/volume_attachment.rb +5 -2
  229. data/lib/oci/core/models/volume_backup.rb +20 -3
  230. data/lib/oci/core/models/volume_backup_policy.rb +5 -2
  231. data/lib/oci/core/models/volume_backup_policy_assignment.rb +5 -2
  232. data/lib/oci/core/models/volume_backup_schedule.rb +5 -2
  233. data/lib/oci/core/models/volume_group.rb +5 -2
  234. data/lib/oci/core/models/volume_group_backup.rb +5 -2
  235. data/lib/oci/core/models/volume_group_source_details.rb +5 -2
  236. data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +5 -2
  237. data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +5 -2
  238. data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +5 -2
  239. data/lib/oci/core/models/volume_kms_key.rb +5 -2
  240. data/lib/oci/core/models/volume_source_details.rb +5 -2
  241. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +5 -2
  242. data/lib/oci/core/models/volume_source_from_volume_details.rb +5 -2
  243. data/lib/oci/core/virtual_network_client.rb +3 -3
  244. data/lib/oci/database/database.rb +5 -0
  245. data/lib/oci/database/database_client.rb +527 -4
  246. data/lib/oci/database/models/autonomous_data_warehouse.rb +21 -4
  247. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +5 -2
  248. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +5 -2
  249. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +20 -3
  250. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +21 -4
  251. data/lib/oci/database/models/autonomous_database.rb +22 -4
  252. data/lib/oci/database/models/autonomous_database_backup.rb +5 -2
  253. data/lib/oci/database/models/autonomous_database_backup_summary.rb +5 -2
  254. data/lib/oci/database/models/autonomous_database_connection_strings.rb +20 -3
  255. data/lib/oci/database/models/autonomous_database_summary.rb +22 -4
  256. data/lib/oci/database/models/backup.rb +40 -14
  257. data/lib/oci/database/models/backup_summary.rb +40 -14
  258. data/lib/oci/database/models/complete_external_backup_job_details.rb +223 -0
  259. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +5 -2
  260. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +6 -2
  261. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +5 -2
  262. data/lib/oci/database/models/create_autonomous_database_details.rb +6 -2
  263. data/lib/oci/database/models/create_backup_details.rb +5 -2
  264. data/lib/oci/database/models/create_data_guard_association_details.rb +7 -2
  265. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -2
  266. data/lib/oci/database/models/create_database_details.rb +6 -2
  267. data/lib/oci/database/models/create_database_from_backup_details.rb +5 -2
  268. data/lib/oci/database/models/create_db_home_details.rb +5 -2
  269. data/lib/oci/database/models/create_db_home_from_backup_details.rb +5 -2
  270. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +6 -2
  271. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -2
  272. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -2
  273. data/lib/oci/database/models/create_external_backup_job_details.rb +341 -0
  274. data/lib/oci/database/models/data_guard_association.rb +5 -2
  275. data/lib/oci/database/models/data_guard_association_summary.rb +5 -2
  276. data/lib/oci/database/models/database.rb +5 -2
  277. data/lib/oci/database/models/database_summary.rb +5 -2
  278. data/lib/oci/database/models/db_backup_config.rb +5 -2
  279. data/lib/oci/database/models/db_home.rb +5 -2
  280. data/lib/oci/database/models/db_home_summary.rb +5 -2
  281. data/lib/oci/database/models/db_node.rb +5 -2
  282. data/lib/oci/database/models/db_node_summary.rb +5 -2
  283. data/lib/oci/database/models/db_system.rb +5 -2
  284. data/lib/oci/database/models/db_system_shape_summary.rb +5 -2
  285. data/lib/oci/database/models/db_system_summary.rb +5 -2
  286. data/lib/oci/database/models/db_version_summary.rb +5 -2
  287. data/lib/oci/database/models/external_backup_job.rb +232 -0
  288. data/lib/oci/database/models/failover_data_guard_association_details.rb +5 -2
  289. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +150 -0
  290. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +150 -0
  291. data/lib/oci/database/models/launch_db_system_base.rb +6 -2
  292. data/lib/oci/database/models/launch_db_system_details.rb +8 -2
  293. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +8 -2
  294. data/lib/oci/database/models/patch.rb +5 -2
  295. data/lib/oci/database/models/patch_details.rb +6 -2
  296. data/lib/oci/database/models/patch_history_entry.rb +5 -2
  297. data/lib/oci/database/models/patch_history_entry_summary.rb +5 -2
  298. data/lib/oci/database/models/patch_summary.rb +5 -2
  299. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +5 -2
  300. data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +5 -2
  301. data/lib/oci/database/models/restore_autonomous_database_details.rb +5 -2
  302. data/lib/oci/database/models/restore_database_details.rb +5 -2
  303. data/lib/oci/database/models/switchover_data_guard_association_details.rb +5 -2
  304. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +5 -2
  305. data/lib/oci/database/models/update_autonomous_database_details.rb +5 -2
  306. data/lib/oci/database/models/update_database_details.rb +5 -2
  307. data/lib/oci/database/models/update_db_home_details.rb +5 -2
  308. data/lib/oci/database/models/update_db_system_details.rb +5 -2
  309. data/lib/oci/dns/dns_client.rb +1 -0
  310. data/lib/oci/dns/models/create_zone_details.rb +6 -2
  311. data/lib/oci/dns/models/external_master.rb +5 -2
  312. data/lib/oci/dns/models/patch_domain_records_details.rb +5 -2
  313. data/lib/oci/dns/models/patch_rr_set_details.rb +5 -2
  314. data/lib/oci/dns/models/patch_zone_records_details.rb +5 -2
  315. data/lib/oci/dns/models/record.rb +5 -2
  316. data/lib/oci/dns/models/record_collection.rb +5 -2
  317. data/lib/oci/dns/models/record_details.rb +5 -2
  318. data/lib/oci/dns/models/record_operation.rb +6 -2
  319. data/lib/oci/dns/models/rr_set.rb +5 -2
  320. data/lib/oci/dns/models/tsig.rb +5 -2
  321. data/lib/oci/dns/models/update_domain_records_details.rb +5 -2
  322. data/lib/oci/dns/models/update_rr_set_details.rb +5 -2
  323. data/lib/oci/dns/models/update_zone_details.rb +5 -2
  324. data/lib/oci/dns/models/update_zone_records_details.rb +5 -2
  325. data/lib/oci/dns/models/zone.rb +5 -2
  326. data/lib/oci/dns/models/zone_summary.rb +5 -2
  327. data/lib/oci/email/email_client.rb +1 -0
  328. data/lib/oci/email/models/create_sender_details.rb +5 -2
  329. data/lib/oci/email/models/create_suppression_details.rb +5 -2
  330. data/lib/oci/email/models/sender.rb +5 -2
  331. data/lib/oci/email/models/sender_summary.rb +5 -2
  332. data/lib/oci/email/models/suppression.rb +5 -2
  333. data/lib/oci/email/models/suppression_summary.rb +5 -2
  334. data/lib/oci/file_storage/file_storage_client.rb +1 -0
  335. data/lib/oci/file_storage/models/client_options.rb +5 -2
  336. data/lib/oci/file_storage/models/create_export_details.rb +5 -2
  337. data/lib/oci/file_storage/models/create_file_system_details.rb +5 -2
  338. data/lib/oci/file_storage/models/create_mount_target_details.rb +5 -2
  339. data/lib/oci/file_storage/models/create_snapshot_details.rb +5 -2
  340. data/lib/oci/file_storage/models/export.rb +5 -2
  341. data/lib/oci/file_storage/models/export_set.rb +5 -2
  342. data/lib/oci/file_storage/models/export_set_summary.rb +5 -2
  343. data/lib/oci/file_storage/models/export_summary.rb +5 -2
  344. data/lib/oci/file_storage/models/file_system.rb +5 -2
  345. data/lib/oci/file_storage/models/file_system_summary.rb +5 -2
  346. data/lib/oci/file_storage/models/mount_target.rb +5 -2
  347. data/lib/oci/file_storage/models/mount_target_summary.rb +5 -2
  348. data/lib/oci/file_storage/models/snapshot.rb +5 -2
  349. data/lib/oci/file_storage/models/snapshot_summary.rb +5 -2
  350. data/lib/oci/file_storage/models/update_export_details.rb +5 -2
  351. data/lib/oci/file_storage/models/update_export_set_details.rb +5 -2
  352. data/lib/oci/file_storage/models/update_file_system_details.rb +5 -2
  353. data/lib/oci/file_storage/models/update_mount_target_details.rb +5 -2
  354. data/lib/oci/identity/identity.rb +5 -0
  355. data/lib/oci/identity/identity_client.rb +283 -14
  356. data/lib/oci/identity/identity_client_composite_operations.rb +49 -0
  357. data/lib/oci/identity/models/add_user_to_group_details.rb +5 -2
  358. data/lib/oci/identity/models/api_key.rb +5 -2
  359. data/lib/oci/identity/models/auth_token.rb +5 -2
  360. data/lib/oci/identity/models/availability_domain.rb +5 -2
  361. data/lib/oci/identity/models/compartment.rb +25 -5
  362. data/lib/oci/identity/models/create_api_key_details.rb +5 -2
  363. data/lib/oci/identity/models/create_auth_token_details.rb +5 -2
  364. data/lib/oci/identity/models/create_compartment_details.rb +7 -4
  365. data/lib/oci/identity/models/create_customer_secret_key_details.rb +5 -2
  366. data/lib/oci/identity/models/create_dynamic_group_details.rb +5 -2
  367. data/lib/oci/identity/models/create_group_details.rb +5 -2
  368. data/lib/oci/identity/models/create_identity_provider_details.rb +7 -2
  369. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +5 -2
  370. data/lib/oci/identity/models/create_policy_details.rb +5 -2
  371. data/lib/oci/identity/models/create_region_subscription_details.rb +5 -2
  372. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +5 -2
  373. data/lib/oci/identity/models/create_smtp_credential_details.rb +5 -2
  374. data/lib/oci/identity/models/create_swift_password_details.rb +5 -2
  375. data/lib/oci/identity/models/create_tag_details.rb +24 -6
  376. data/lib/oci/identity/models/create_tag_namespace_details.rb +5 -2
  377. data/lib/oci/identity/models/create_user_details.rb +5 -2
  378. data/lib/oci/identity/models/customer_secret_key.rb +5 -2
  379. data/lib/oci/identity/models/customer_secret_key_summary.rb +5 -2
  380. data/lib/oci/identity/models/dynamic_group.rb +5 -2
  381. data/lib/oci/identity/models/fault_domain.rb +5 -2
  382. data/lib/oci/identity/models/group.rb +5 -2
  383. data/lib/oci/identity/models/identity_provider.rb +5 -2
  384. data/lib/oci/identity/models/idp_group_mapping.rb +5 -2
  385. data/lib/oci/identity/models/policy.rb +5 -2
  386. data/lib/oci/identity/models/region.rb +5 -2
  387. data/lib/oci/identity/models/region_subscription.rb +5 -2
  388. data/lib/oci/identity/models/saml2_identity_provider.rb +5 -2
  389. data/lib/oci/identity/models/smtp_credential.rb +5 -2
  390. data/lib/oci/identity/models/smtp_credential_summary.rb +5 -2
  391. data/lib/oci/identity/models/swift_password.rb +5 -2
  392. data/lib/oci/identity/models/tag.rb +24 -6
  393. data/lib/oci/identity/models/tag_namespace.rb +5 -2
  394. data/lib/oci/identity/models/tag_namespace_summary.rb +5 -2
  395. data/lib/oci/identity/models/tag_summary.rb +24 -6
  396. data/lib/oci/identity/models/tenancy.rb +5 -2
  397. data/lib/oci/identity/models/ui_password.rb +5 -2
  398. data/lib/oci/identity/models/update_auth_token_details.rb +5 -2
  399. data/lib/oci/identity/models/update_compartment_details.rb +6 -3
  400. data/lib/oci/identity/models/update_customer_secret_key_details.rb +5 -2
  401. data/lib/oci/identity/models/update_dynamic_group_details.rb +5 -2
  402. data/lib/oci/identity/models/update_group_details.rb +5 -2
  403. data/lib/oci/identity/models/update_identity_provider_details.rb +6 -2
  404. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +5 -2
  405. data/lib/oci/identity/models/update_policy_details.rb +5 -2
  406. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -2
  407. data/lib/oci/identity/models/update_smtp_credential_details.rb +5 -2
  408. data/lib/oci/identity/models/update_state_details.rb +5 -2
  409. data/lib/oci/identity/models/update_swift_password_details.rb +5 -2
  410. data/lib/oci/identity/models/update_tag_details.rb +24 -6
  411. data/lib/oci/identity/models/update_tag_namespace_details.rb +5 -2
  412. data/lib/oci/identity/models/update_user_details.rb +5 -2
  413. data/lib/oci/identity/models/user.rb +5 -2
  414. data/lib/oci/identity/models/user_group_membership.rb +5 -2
  415. data/lib/oci/identity/models/work_request.rb +331 -0
  416. data/lib/oci/identity/models/work_request_error.rb +172 -0
  417. data/lib/oci/identity/models/work_request_log_entry.rb +162 -0
  418. data/lib/oci/identity/models/work_request_resource.rb +217 -0
  419. data/lib/oci/identity/models/work_request_summary.rb +319 -0
  420. data/lib/oci/key_management/kms_crypto_client.rb +2 -0
  421. data/lib/oci/key_management/kms_management_client.rb +2 -0
  422. data/lib/oci/key_management/kms_vault_client.rb +1 -0
  423. data/lib/oci/key_management/models/create_key_details.rb +5 -2
  424. data/lib/oci/key_management/models/create_vault_details.rb +6 -2
  425. data/lib/oci/key_management/models/decrypt_data_details.rb +5 -2
  426. data/lib/oci/key_management/models/decrypted_data.rb +5 -2
  427. data/lib/oci/key_management/models/encrypt_data_details.rb +5 -2
  428. data/lib/oci/key_management/models/encrypted_data.rb +5 -2
  429. data/lib/oci/key_management/models/generate_key_details.rb +5 -2
  430. data/lib/oci/key_management/models/generated_key.rb +5 -2
  431. data/lib/oci/key_management/models/key.rb +5 -2
  432. data/lib/oci/key_management/models/key_shape.rb +5 -2
  433. data/lib/oci/key_management/models/key_summary.rb +5 -2
  434. data/lib/oci/key_management/models/key_version.rb +5 -2
  435. data/lib/oci/key_management/models/key_version_summary.rb +5 -2
  436. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +5 -2
  437. data/lib/oci/key_management/models/update_key_details.rb +5 -2
  438. data/lib/oci/key_management/models/update_vault_details.rb +5 -2
  439. data/lib/oci/key_management/models/vault.rb +5 -2
  440. data/lib/oci/key_management/models/vault_summary.rb +5 -2
  441. data/lib/oci/load_balancer/load_balancer_client.rb +1 -0
  442. data/lib/oci/load_balancer/models/backend.rb +5 -2
  443. data/lib/oci/load_balancer/models/backend_details.rb +5 -2
  444. data/lib/oci/load_balancer/models/backend_health.rb +5 -2
  445. data/lib/oci/load_balancer/models/backend_set.rb +5 -2
  446. data/lib/oci/load_balancer/models/backend_set_details.rb +5 -2
  447. data/lib/oci/load_balancer/models/backend_set_health.rb +5 -2
  448. data/lib/oci/load_balancer/models/certificate.rb +5 -2
  449. data/lib/oci/load_balancer/models/certificate_details.rb +5 -2
  450. data/lib/oci/load_balancer/models/connection_configuration.rb +5 -2
  451. data/lib/oci/load_balancer/models/create_backend_details.rb +5 -2
  452. data/lib/oci/load_balancer/models/create_backend_set_details.rb +5 -2
  453. data/lib/oci/load_balancer/models/create_certificate_details.rb +5 -2
  454. data/lib/oci/load_balancer/models/create_hostname_details.rb +5 -2
  455. data/lib/oci/load_balancer/models/create_listener_details.rb +5 -2
  456. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +5 -2
  457. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +5 -2
  458. data/lib/oci/load_balancer/models/health_check_result.rb +5 -2
  459. data/lib/oci/load_balancer/models/health_checker.rb +5 -2
  460. data/lib/oci/load_balancer/models/health_checker_details.rb +5 -2
  461. data/lib/oci/load_balancer/models/hostname.rb +5 -2
  462. data/lib/oci/load_balancer/models/hostname_details.rb +5 -2
  463. data/lib/oci/load_balancer/models/ip_address.rb +5 -2
  464. data/lib/oci/load_balancer/models/listener.rb +5 -2
  465. data/lib/oci/load_balancer/models/listener_details.rb +5 -2
  466. data/lib/oci/load_balancer/models/load_balancer.rb +5 -2
  467. data/lib/oci/load_balancer/models/load_balancer_health.rb +5 -2
  468. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
  469. data/lib/oci/load_balancer/models/load_balancer_policy.rb +5 -2
  470. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +5 -2
  471. data/lib/oci/load_balancer/models/load_balancer_shape.rb +5 -2
  472. data/lib/oci/load_balancer/models/path_match_type.rb +5 -2
  473. data/lib/oci/load_balancer/models/path_route.rb +5 -2
  474. data/lib/oci/load_balancer/models/path_route_set.rb +5 -2
  475. data/lib/oci/load_balancer/models/path_route_set_details.rb +5 -2
  476. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +5 -2
  477. data/lib/oci/load_balancer/models/ssl_configuration.rb +5 -2
  478. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +5 -2
  479. data/lib/oci/load_balancer/models/update_backend_details.rb +5 -2
  480. data/lib/oci/load_balancer/models/update_backend_set_details.rb +5 -2
  481. data/lib/oci/load_balancer/models/update_health_checker_details.rb +5 -2
  482. data/lib/oci/load_balancer/models/update_hostname_details.rb +5 -2
  483. data/lib/oci/load_balancer/models/update_listener_details.rb +5 -2
  484. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +5 -2
  485. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +5 -2
  486. data/lib/oci/load_balancer/models/work_request.rb +5 -2
  487. data/lib/oci/load_balancer/models/work_request_error.rb +5 -2
  488. data/lib/oci/object_storage/models/bucket.rb +5 -2
  489. data/lib/oci/object_storage/models/bucket_summary.rb +5 -2
  490. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +5 -2
  491. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +5 -2
  492. data/lib/oci/object_storage/models/copy_object_details.rb +5 -2
  493. data/lib/oci/object_storage/models/create_bucket_details.rb +7 -2
  494. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +5 -2
  495. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +6 -2
  496. data/lib/oci/object_storage/models/list_objects.rb +5 -2
  497. data/lib/oci/object_storage/models/multipart_upload.rb +5 -2
  498. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +5 -2
  499. data/lib/oci/object_storage/models/namespace_metadata.rb +5 -2
  500. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +5 -2
  501. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +5 -2
  502. data/lib/oci/object_storage/models/object_name_filter.rb +5 -2
  503. data/lib/oci/object_storage/models/object_summary.rb +5 -2
  504. data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -2
  505. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +5 -2
  506. data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +5 -2
  507. data/lib/oci/object_storage/models/rename_object_details.rb +5 -2
  508. data/lib/oci/object_storage/models/restore_objects_details.rb +5 -2
  509. data/lib/oci/object_storage/models/update_bucket_details.rb +6 -2
  510. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -2
  511. data/lib/oci/object_storage/models/work_request.rb +5 -2
  512. data/lib/oci/object_storage/models/work_request_error.rb +5 -2
  513. data/lib/oci/object_storage/models/work_request_log_entry.rb +5 -2
  514. data/lib/oci/object_storage/models/work_request_resource.rb +5 -2
  515. data/lib/oci/object_storage/models/work_request_summary.rb +5 -2
  516. data/lib/oci/object_storage/object_storage_client.rb +1 -0
  517. data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +1 -0
  518. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -0
  519. data/lib/oci/object_storage/transfer/upload_manager.rb +1 -0
  520. data/lib/oci/regions.rb +3 -1
  521. data/lib/oci/resource_search/models/free_text_search_details.rb +5 -2
  522. data/lib/oci/resource_search/models/queryable_field_description.rb +5 -2
  523. data/lib/oci/resource_search/models/resource_summary.rb +5 -2
  524. data/lib/oci/resource_search/models/resource_summary_collection.rb +5 -2
  525. data/lib/oci/resource_search/models/resource_type.rb +5 -2
  526. data/lib/oci/resource_search/models/search_context.rb +5 -2
  527. data/lib/oci/resource_search/models/search_details.rb +6 -2
  528. data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
  529. data/lib/oci/resource_search/resource_search_client.rb +1 -0
  530. data/lib/oci/response_headers.rb +1 -0
  531. data/lib/oci/retry/functions/sleep.rb +1 -0
  532. data/lib/oci/retry/internal/retry_state.rb +1 -0
  533. data/lib/oci/retry/retry_config.rb +3 -0
  534. data/lib/oci/version.rb +1 -1
  535. data/lib/oci/waiter.rb +2 -0
  536. metadata +44 -2
@@ -130,13 +130,14 @@ module OCI
130
130
  # rubocop:enable Style/ConditionalAssignment
131
131
  end
132
132
 
133
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
133
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
134
134
 
135
135
 
136
136
  # Checks equality by comparing each attribute.
137
137
  # @param [Object] other the other object to be compared
138
138
  def ==(other)
139
139
  return true if equal?(other)
140
+
140
141
  self.class == other.class &&
141
142
  file_system_id == other.file_system_id &&
142
143
  id == other.id &&
@@ -144,7 +145,7 @@ module OCI
144
145
  name == other.name &&
145
146
  time_created == other.time_created
146
147
  end
147
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
148
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
148
149
 
149
150
  # @see the `==` method
150
151
  # @param [Object] other the other object to be compared
@@ -170,6 +171,7 @@ module OCI
170
171
  # @return [Object] Returns the model itself
171
172
  def build_from_hash(attributes)
172
173
  return nil unless attributes.is_a?(Hash)
174
+
173
175
  self.class.swagger_types.each_pair do |key, type|
174
176
  if type =~ /^Array<(.*)>/i
175
177
  # check to ensure the input is an array given that the the attribute
@@ -205,6 +207,7 @@ module OCI
205
207
  self.class.attribute_map.each_pair do |attr, param|
206
208
  value = public_method(attr).call
207
209
  next if value.nil? && !instance_variable_defined?("@#{attr}")
210
+
208
211
  hash[param] = _to_hash(value)
209
212
  end
210
213
  hash
@@ -55,17 +55,18 @@ module OCI
55
55
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
56
56
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
57
57
 
58
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
58
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
59
59
 
60
60
 
61
61
  # Checks equality by comparing each attribute.
62
62
  # @param [Object] other the other object to be compared
63
63
  def ==(other)
64
64
  return true if equal?(other)
65
+
65
66
  self.class == other.class &&
66
67
  export_options == other.export_options
67
68
  end
68
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
69
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
69
70
 
70
71
  # @see the `==` method
71
72
  # @param [Object] other the other object to be compared
@@ -91,6 +92,7 @@ module OCI
91
92
  # @return [Object] Returns the model itself
92
93
  def build_from_hash(attributes)
93
94
  return nil unless attributes.is_a?(Hash)
95
+
94
96
  self.class.swagger_types.each_pair do |key, type|
95
97
  if type =~ /^Array<(.*)>/i
96
98
  # check to ensure the input is an array given that the the attribute
@@ -126,6 +128,7 @@ module OCI
126
128
  self.class.attribute_map.each_pair do |attr, param|
127
129
  value = public_method(attr).call
128
130
  next if value.nil? && !instance_variable_defined?("@#{attr}")
131
+
129
132
  hash[param] = _to_hash(value)
130
133
  end
131
134
  hash
@@ -98,19 +98,20 @@ module OCI
98
98
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
99
99
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
100
100
 
101
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
101
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
102
102
 
103
103
 
104
104
  # Checks equality by comparing each attribute.
105
105
  # @param [Object] other the other object to be compared
106
106
  def ==(other)
107
107
  return true if equal?(other)
108
+
108
109
  self.class == other.class &&
109
110
  display_name == other.display_name &&
110
111
  max_fs_stat_bytes == other.max_fs_stat_bytes &&
111
112
  max_fs_stat_files == other.max_fs_stat_files
112
113
  end
113
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
114
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
114
115
 
115
116
  # @see the `==` method
116
117
  # @param [Object] other the other object to be compared
@@ -136,6 +137,7 @@ module OCI
136
137
  # @return [Object] Returns the model itself
137
138
  def build_from_hash(attributes)
138
139
  return nil unless attributes.is_a?(Hash)
140
+
139
141
  self.class.swagger_types.each_pair do |key, type|
140
142
  if type =~ /^Array<(.*)>/i
141
143
  # check to ensure the input is an array given that the the attribute
@@ -171,6 +173,7 @@ module OCI
171
173
  self.class.attribute_map.each_pair do |attr, param|
172
174
  value = public_method(attr).call
173
175
  next if value.nil? && !instance_variable_defined?("@#{attr}")
176
+
174
177
  hash[param] = _to_hash(value)
175
178
  end
176
179
  hash
@@ -54,17 +54,18 @@ module OCI
54
54
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
55
55
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
56
56
 
57
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
57
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
58
58
 
59
59
 
60
60
  # Checks equality by comparing each attribute.
61
61
  # @param [Object] other the other object to be compared
62
62
  def ==(other)
63
63
  return true if equal?(other)
64
+
64
65
  self.class == other.class &&
65
66
  display_name == other.display_name
66
67
  end
67
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
68
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
68
69
 
69
70
  # @see the `==` method
70
71
  # @param [Object] other the other object to be compared
@@ -90,6 +91,7 @@ module OCI
90
91
  # @return [Object] Returns the model itself
91
92
  def build_from_hash(attributes)
92
93
  return nil unless attributes.is_a?(Hash)
94
+
93
95
  self.class.swagger_types.each_pair do |key, type|
94
96
  if type =~ /^Array<(.*)>/i
95
97
  # check to ensure the input is an array given that the the attribute
@@ -125,6 +127,7 @@ module OCI
125
127
  self.class.attribute_map.each_pair do |attr, param|
126
128
  value = public_method(attr).call
127
129
  next if value.nil? && !instance_variable_defined?("@#{attr}")
130
+
128
131
  hash[param] = _to_hash(value)
129
132
  end
130
133
  hash
@@ -54,17 +54,18 @@ module OCI
54
54
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
55
55
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
56
56
 
57
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
57
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
58
58
 
59
59
 
60
60
  # Checks equality by comparing each attribute.
61
61
  # @param [Object] other the other object to be compared
62
62
  def ==(other)
63
63
  return true if equal?(other)
64
+
64
65
  self.class == other.class &&
65
66
  display_name == other.display_name
66
67
  end
67
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
68
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
68
69
 
69
70
  # @see the `==` method
70
71
  # @param [Object] other the other object to be compared
@@ -90,6 +91,7 @@ module OCI
90
91
  # @return [Object] Returns the model itself
91
92
  def build_from_hash(attributes)
92
93
  return nil unless attributes.is_a?(Hash)
94
+
93
95
  self.class.swagger_types.each_pair do |key, type|
94
96
  if type =~ /^Array<(.*)>/i
95
97
  # check to ensure the input is an array given that the the attribute
@@ -125,6 +127,7 @@ module OCI
125
127
  self.class.attribute_map.each_pair do |attr, param|
126
128
  value = public_method(attr).call
127
129
  next if value.nil? && !instance_variable_defined?("@#{attr}")
130
+
128
131
  hash[param] = _to_hash(value)
129
132
  end
130
133
  hash
@@ -68,6 +68,11 @@ require 'oci/identity/models/update_tag_namespace_details'
68
68
  require 'oci/identity/models/update_user_details'
69
69
  require 'oci/identity/models/user'
70
70
  require 'oci/identity/models/user_group_membership'
71
+ require 'oci/identity/models/work_request'
72
+ require 'oci/identity/models/work_request_error'
73
+ require 'oci/identity/models/work_request_log_entry'
74
+ require 'oci/identity/models/work_request_resource'
75
+ require 'oci/identity/models/work_request_summary'
71
76
 
72
77
  # Require generated clients
73
78
  require 'oci/identity/identity_client'
@@ -234,11 +234,11 @@ module OCI
234
234
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
235
235
 
236
236
 
237
- # Creates a new compartment in your tenancy.
237
+ # Creates a new compartment in the specified compartment.
238
238
  #
239
239
  # **Important:** Compartments cannot be deleted.
240
240
  #
241
- # You must specify your tenancy's OCID as the compartment ID in the request object. Remember that the tenancy
241
+ # Specify the parent compartment's OCID as the compartment ID in the request object. Remember that the tenancy
242
242
  # is simply the root compartment. For information about OCIDs, see
243
243
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
244
244
  #
@@ -1387,6 +1387,62 @@ module OCI
1387
1387
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1388
1388
 
1389
1389
 
1390
+ # Deletes the specified compartment. The compartment must be empty.
1391
+ #
1392
+ # @param [String] compartment_id The OCID of the compartment.
1393
+ # @param [Hash] opts the optional parameters
1394
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1395
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1396
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1397
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1398
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1399
+ #
1400
+ # @return [Response] A Response object with data of type nil
1401
+ def delete_compartment(compartment_id, opts = {})
1402
+ logger.debug 'Calling operation IdentityClient#delete_compartment.' if logger
1403
+
1404
+ raise "Missing the required parameter 'compartment_id' when calling delete_compartment." if compartment_id.nil?
1405
+ raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
1406
+
1407
+ path = '/compartments/{compartmentId}'.sub('{compartmentId}', compartment_id.to_s)
1408
+ operation_signing_strategy = :standard
1409
+
1410
+ # rubocop:disable Style/NegatedIf
1411
+ # Query Params
1412
+ query_params = {}
1413
+
1414
+ # Header Params
1415
+ header_params = {}
1416
+ header_params[:accept] = 'application/json'
1417
+ header_params[:'content-type'] = 'application/json'
1418
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1419
+ # rubocop:enable Style/NegatedIf
1420
+
1421
+ post_body = nil
1422
+
1423
+ # rubocop:disable Metrics/BlockLength
1424
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_compartment') do
1425
+ @api_client.call_api(
1426
+ :DELETE,
1427
+ path,
1428
+ endpoint,
1429
+ header_params: header_params,
1430
+ query_params: query_params,
1431
+ operation_signing_strategy: operation_signing_strategy,
1432
+ body: post_body
1433
+ )
1434
+ end
1435
+ # rubocop:enable Metrics/BlockLength
1436
+ end
1437
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1438
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1439
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1440
+
1441
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1442
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1443
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1444
+
1445
+
1390
1446
  # Deletes the specified secret key for the specified user.
1391
1447
  #
1392
1448
  # @param [String] user_id The OCID of the user.
@@ -2511,6 +2567,61 @@ module OCI
2511
2567
  # rubocop:disable Lint/UnusedMethodArgument
2512
2568
 
2513
2569
 
2570
+ # Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
2571
+ # for any asynchronous operation in the Identity and Access Management service.
2572
+ #
2573
+ # @param [String] work_request_id The OCID of the work request.
2574
+ # @param [Hash] opts the optional parameters
2575
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2576
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2577
+ # @return [Response] A Response object with data of type {OCI::Identity::Models::WorkRequest WorkRequest}
2578
+ def get_work_request(work_request_id, opts = {})
2579
+ logger.debug 'Calling operation IdentityClient#get_work_request.' if logger
2580
+
2581
+ raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
2582
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
2583
+
2584
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
2585
+ operation_signing_strategy = :standard
2586
+
2587
+ # rubocop:disable Style/NegatedIf
2588
+ # Query Params
2589
+ query_params = {}
2590
+
2591
+ # Header Params
2592
+ header_params = {}
2593
+ header_params[:accept] = 'application/json'
2594
+ header_params[:'content-type'] = 'application/json'
2595
+ # rubocop:enable Style/NegatedIf
2596
+
2597
+ post_body = nil
2598
+
2599
+ # rubocop:disable Metrics/BlockLength
2600
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_work_request') do
2601
+ @api_client.call_api(
2602
+ :GET,
2603
+ path,
2604
+ endpoint,
2605
+ header_params: header_params,
2606
+ query_params: query_params,
2607
+ operation_signing_strategy: operation_signing_strategy,
2608
+ body: post_body,
2609
+ return_type: 'OCI::Identity::Models::WorkRequest'
2610
+ )
2611
+ end
2612
+ # rubocop:enable Metrics/BlockLength
2613
+ end
2614
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2615
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2616
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2617
+ # rubocop:enable Lint/UnusedMethodArgument
2618
+
2619
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2620
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2621
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2622
+ # rubocop:disable Lint/UnusedMethodArgument
2623
+
2624
+
2514
2625
  # Lists the API signing keys for the specified user. A user can have a maximum of three keys.
2515
2626
  #
2516
2627
  # Every user has permission to use this API call for *their own user ID*. An administrator in your
@@ -2629,7 +2740,7 @@ module OCI
2629
2740
  # Note that the order of the results returned can change if availability domains are added or removed; therefore, do not
2630
2741
  # create a dependency on the list order.
2631
2742
  #
2632
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
2743
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2633
2744
  #
2634
2745
  # @param [Hash] opts the optional parameters
2635
2746
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2681,11 +2792,26 @@ module OCI
2681
2792
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2682
2793
 
2683
2794
 
2684
- # Lists the compartments in your tenancy. You must specify your tenancy's OCID as the value
2685
- # for the compartment ID (remember that the tenancy is simply the root compartment).
2795
+ # Lists the compartments in a specified compartment. The members of the list
2796
+ # returned depends on the values set for several parameters.
2797
+ #
2798
+ # With the exception of the tenancy (root compartment), the ListCompartments operation
2799
+ # returns only the first-level child compartments in the parent compartment specified in
2800
+ # `compartmentId`. The list does not include any subcompartments of the child
2801
+ # compartments (grandchildren).
2802
+ #
2803
+ # The parameter `accessLevel` specifies whether to return only those compartments for which the
2804
+ # requestor has INSPECT permissions on at least one resource directly
2805
+ # or indirectly (the resource can be in a subcompartment).
2806
+ #
2807
+ # The parameter `compartmentIdInSubtree` applies only when you perform ListCompartments on the
2808
+ # tenancy (root compartment). When set to true, the entire hierarchy of compartments can be returned.
2809
+ # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
2810
+ # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ANY.
2811
+ #
2686
2812
  # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
2687
2813
  #
2688
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
2814
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2689
2815
  #
2690
2816
  # @param [Hash] opts the optional parameters
2691
2817
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2694,12 +2820,31 @@ module OCI
2694
2820
  #
2695
2821
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2696
2822
  #
2823
+ # @option opts [String] :access_level Valid values are `ANY` and `ACCESSIBLE`. Default is `ANY`.
2824
+ # Setting this to `ACCESSIBLE` returns only those compartments for which the
2825
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
2826
+ # resource in a subcompartment). For the compartments on which the user indirectly has
2827
+ # INSPECT permissions, a restricted set of fields is returned.
2828
+ #
2829
+ # When set to `ANY` permissions are not checked.
2830
+ #
2831
+ # Allowed values are: ANY, ACCESSIBLE
2832
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false. Can only be set to true when performing
2833
+ # ListCompartments on the tenancy (root compartment).
2834
+ # When set to true, the hierarchy of compartments is traversed
2835
+ # and all compartments and subcompartments in the tenancy are
2836
+ # returned depending on the the setting of `accessLevel`.
2837
+ #
2697
2838
  # @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Compartment Compartment}>
2698
2839
  def list_compartments(compartment_id, opts = {})
2699
2840
  logger.debug 'Calling operation IdentityClient#list_compartments.' if logger
2700
2841
 
2701
2842
  raise "Missing the required parameter 'compartment_id' when calling list_compartments." if compartment_id.nil?
2702
2843
 
2844
+ if opts[:access_level] && !%w[ANY ACCESSIBLE].include?(opts[:access_level])
2845
+ raise 'Invalid value for "access_level", must be one of ANY, ACCESSIBLE.'
2846
+ end
2847
+
2703
2848
  path = '/compartments/'
2704
2849
  operation_signing_strategy = :standard
2705
2850
 
@@ -2709,6 +2854,8 @@ module OCI
2709
2854
  query_params[:compartmentId] = compartment_id
2710
2855
  query_params[:page] = opts[:page] if opts[:page]
2711
2856
  query_params[:limit] = opts[:limit] if opts[:limit]
2857
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
2858
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
2712
2859
 
2713
2860
  # Header Params
2714
2861
  header_params = {}
@@ -2737,6 +2884,66 @@ module OCI
2737
2884
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2738
2885
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2739
2886
 
2887
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2888
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2889
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2890
+
2891
+
2892
+ # Lists all the tags enabled for cost-tracking in the specified tenancy. For information about
2893
+ # cost-tracking tags, see [Using Cost-tracking Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#costs).
2894
+ #
2895
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2896
+ #
2897
+ # @param [Hash] opts the optional parameters
2898
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2899
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2900
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2901
+ #
2902
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2903
+ #
2904
+ # @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Tag Tag}>
2905
+ def list_cost_tracking_tags(compartment_id, opts = {})
2906
+ logger.debug 'Calling operation IdentityClient#list_cost_tracking_tags.' if logger
2907
+
2908
+ raise "Missing the required parameter 'compartment_id' when calling list_cost_tracking_tags." if compartment_id.nil?
2909
+
2910
+ path = '/tagNamespaces/actions/listCostTrackingTags'
2911
+ operation_signing_strategy = :standard
2912
+
2913
+ # rubocop:disable Style/NegatedIf
2914
+ # Query Params
2915
+ query_params = {}
2916
+ query_params[:compartmentId] = compartment_id
2917
+ query_params[:page] = opts[:page] if opts[:page]
2918
+ query_params[:limit] = opts[:limit] if opts[:limit]
2919
+
2920
+ # Header Params
2921
+ header_params = {}
2922
+ header_params[:accept] = 'application/json'
2923
+ header_params[:'content-type'] = 'application/json'
2924
+ # rubocop:enable Style/NegatedIf
2925
+
2926
+ post_body = nil
2927
+
2928
+ # rubocop:disable Metrics/BlockLength
2929
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_cost_tracking_tags') do
2930
+ @api_client.call_api(
2931
+ :GET,
2932
+ path,
2933
+ endpoint,
2934
+ header_params: header_params,
2935
+ query_params: query_params,
2936
+ operation_signing_strategy: operation_signing_strategy,
2937
+ body: post_body,
2938
+ return_type: 'Array<OCI::Identity::Models::Tag>'
2939
+ )
2940
+ end
2941
+ # rubocop:enable Metrics/BlockLength
2942
+ end
2943
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2944
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2945
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2946
+
2740
2947
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2741
2948
  # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2742
2949
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
@@ -2801,7 +3008,7 @@ module OCI
2801
3008
  # the compartment ID (remember that the tenancy is simply the root compartment).
2802
3009
  # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
2803
3010
  #
2804
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3011
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2805
3012
  #
2806
3013
  # @param [Hash] opts the optional parameters
2807
3014
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2863,7 +3070,7 @@ module OCI
2863
3070
  # of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
2864
3071
  # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
2865
3072
  #
2866
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3073
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2867
3074
  #
2868
3075
  # @param [String] availability_domain The name of the availibilityDomain.
2869
3076
  #
@@ -2923,7 +3130,7 @@ module OCI
2923
3130
  # the compartment ID (remember that the tenancy is simply the root compartment).
2924
3131
  # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
2925
3132
  #
2926
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3133
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2927
3134
  #
2928
3135
  # @param [Hash] opts the optional parameters
2929
3136
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2987,7 +3194,7 @@ module OCI
2987
3194
  #
2988
3195
  # @param [String] protocol The protocol used for federation.
2989
3196
  # Allowed values are: SAML2
2990
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3197
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
2991
3198
  #
2992
3199
  # @param [Hash] opts the optional parameters
2993
3200
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -3113,7 +3320,7 @@ module OCI
3113
3320
  # To determine which policies apply to a particular group or compartment, you must view the individual
3114
3321
  # statements inside all your policies. There isn't a way to automatically obtain that information via the API.
3115
3322
  #
3116
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3323
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
3117
3324
  #
3118
3325
  # @param [Hash] opts the optional parameters
3119
3326
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -3387,7 +3594,7 @@ module OCI
3387
3594
 
3388
3595
  # Lists the tag namespaces in the specified compartment.
3389
3596
  #
3390
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3597
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
3391
3598
  #
3392
3599
  # @param [Hash] opts the optional parameters
3393
3600
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -3518,7 +3725,7 @@ module OCI
3518
3725
  # If the answer is no, the response is an empty list.
3519
3726
  # - Although`userId` and `groupId` are not indvidually required, you must set one of them.
3520
3727
  #
3521
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3728
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
3522
3729
  #
3523
3730
  # @param [Hash] opts the optional parameters
3524
3731
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -3583,7 +3790,7 @@ module OCI
3583
3790
  # compartment ID (remember that the tenancy is simply the root compartment).
3584
3791
  # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3585
3792
  #
3586
- # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3793
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
3587
3794
  #
3588
3795
  # @param [Hash] opts the optional parameters
3589
3796
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -3640,6 +3847,67 @@ module OCI
3640
3847
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3641
3848
 
3642
3849
 
3850
+ # Lists the work requests in compartment.
3851
+ #
3852
+ # @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
3853
+ #
3854
+ # @param [Hash] opts the optional parameters
3855
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3856
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3857
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
3858
+ #
3859
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3860
+ #
3861
+ # @option opts [String] :resource_identifier The identifier of the resource the work request affects.
3862
+ # @return [Response] A Response object with data of type Array<{OCI::Identity::Models::WorkRequestSummary WorkRequestSummary}>
3863
+ def list_work_requests(compartment_id, opts = {})
3864
+ logger.debug 'Calling operation IdentityClient#list_work_requests.' if logger
3865
+
3866
+ raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
3867
+
3868
+ path = '/workRequests/'
3869
+ operation_signing_strategy = :standard
3870
+
3871
+ # rubocop:disable Style/NegatedIf
3872
+ # Query Params
3873
+ query_params = {}
3874
+ query_params[:compartmentId] = compartment_id
3875
+ query_params[:page] = opts[:page] if opts[:page]
3876
+ query_params[:limit] = opts[:limit] if opts[:limit]
3877
+ query_params[:resourceIdentifier] = opts[:resource_identifier] if opts[:resource_identifier]
3878
+
3879
+ # Header Params
3880
+ header_params = {}
3881
+ header_params[:accept] = 'application/json'
3882
+ header_params[:'content-type'] = 'application/json'
3883
+ # rubocop:enable Style/NegatedIf
3884
+
3885
+ post_body = nil
3886
+
3887
+ # rubocop:disable Metrics/BlockLength
3888
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_work_requests') do
3889
+ @api_client.call_api(
3890
+ :GET,
3891
+ path,
3892
+ endpoint,
3893
+ header_params: header_params,
3894
+ query_params: query_params,
3895
+ operation_signing_strategy: operation_signing_strategy,
3896
+ body: post_body,
3897
+ return_type: 'Array<OCI::Identity::Models::WorkRequestSummary>'
3898
+ )
3899
+ end
3900
+ # rubocop:enable Metrics/BlockLength
3901
+ end
3902
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3903
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3904
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3905
+
3906
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3907
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3908
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3909
+
3910
+
3643
3911
  # Removes a user from a group by deleting the corresponding `UserGroupMembership`.
3644
3912
  # @param [String] user_group_membership_id The OCID of the userGroupMembership.
3645
3913
  # @param [Hash] opts the optional parameters
@@ -4617,6 +4885,7 @@ module OCI
4617
4885
 
4618
4886
  def applicable_retry_config(opts = {})
4619
4887
  return @retry_config unless opts.key?(:retry_config)
4888
+
4620
4889
  opts[:retry_config]
4621
4890
  end
4622
4891
  end