oci 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/oci.rb +3 -0
  4. data/lib/oci/api_client.rb +24 -3
  5. data/lib/oci/audit/audit_client.rb +19 -5
  6. data/lib/oci/audit/models/audit_event.rb +19 -0
  7. data/lib/oci/audit/models/configuration.rb +1 -0
  8. data/lib/oci/audit/models/update_configuration_details.rb +1 -0
  9. data/lib/oci/auth/auth.rb +16 -0
  10. data/lib/oci/auth/federation_client.rb +125 -0
  11. data/lib/oci/auth/internal/auth_token_request_signer.rb +20 -0
  12. data/lib/oci/auth/security_token_container.rb +25 -0
  13. data/lib/oci/auth/session_key_supplier.rb +37 -0
  14. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +83 -0
  15. data/lib/oci/auth/signers/security_token_signer.rb +32 -0
  16. data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +70 -0
  17. data/lib/oci/auth/url_based_certificate_retriever.rb +104 -0
  18. data/lib/oci/auth/util.rb +33 -0
  19. data/lib/oci/base_signer.rb +154 -0
  20. data/lib/oci/core/blockstorage_client.rb +19 -5
  21. data/lib/oci/core/compute_client.rb +19 -5
  22. data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
  23. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -1
  24. data/lib/oci/core/models/attach_vnic_details.rb +6 -2
  25. data/lib/oci/core/models/attach_volume_details.rb +8 -3
  26. data/lib/oci/core/models/boot_volume.rb +22 -6
  27. data/lib/oci/core/models/boot_volume_attachment.rb +17 -7
  28. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
  29. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
  30. data/lib/oci/core/models/capture_console_history_details.rb +5 -1
  31. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +3 -1
  32. data/lib/oci/core/models/console_history.rb +19 -6
  33. data/lib/oci/core/models/cpe.rb +18 -3
  34. data/lib/oci/core/models/create_cpe_details.rb +5 -2
  35. data/lib/oci/core/models/create_cross_connect_details.rb +10 -3
  36. data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -1
  37. data/lib/oci/core/models/create_dhcp_details.rb +9 -3
  38. data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
  39. data/lib/oci/core/models/create_drg_details.rb +3 -1
  40. data/lib/oci/core/models/create_image_details.rb +9 -1
  41. data/lib/oci/core/models/create_instance_console_connection_details.rb +9 -2
  42. data/lib/oci/core/models/create_internet_gateway_details.rb +8 -4
  43. data/lib/oci/core/models/create_ip_sec_connection_details.rb +9 -4
  44. data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
  45. data/lib/oci/core/models/create_private_ip_details.rb +7 -1
  46. data/lib/oci/core/models/create_route_table_details.rb +9 -3
  47. data/lib/oci/core/models/create_security_list_details.rb +11 -4
  48. data/lib/oci/core/models/create_subnet_details.rb +17 -5
  49. data/lib/oci/core/models/create_vcn_details.rb +8 -2
  50. data/lib/oci/core/models/create_virtual_circuit_details.rb +14 -2
  51. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -1
  52. data/lib/oci/core/models/create_vnic_details.rb +14 -3
  53. data/lib/oci/core/models/create_volume_backup_details.rb +5 -1
  54. data/lib/oci/core/models/create_volume_details.rb +11 -2
  55. data/lib/oci/core/models/cross_connect.rb +26 -0
  56. data/lib/oci/core/models/cross_connect_group.rb +19 -0
  57. data/lib/oci/core/models/cross_connect_location.rb +5 -2
  58. data/lib/oci/core/models/cross_connect_mapping.rb +31 -0
  59. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +6 -2
  60. data/lib/oci/core/models/cross_connect_status.rb +6 -1
  61. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
  62. data/lib/oci/core/models/dhcp_dns_option.rb +7 -1
  63. data/lib/oci/core/models/dhcp_option.rb +9 -1
  64. data/lib/oci/core/models/dhcp_options.rb +31 -6
  65. data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -1
  66. data/lib/oci/core/models/drg.rb +18 -3
  67. data/lib/oci/core/models/drg_attachment.rb +15 -5
  68. data/lib/oci/core/models/egress_security_rule.rb +10 -3
  69. data/lib/oci/core/models/export_image_details.rb +13 -1
  70. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -0
  71. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
  72. data/lib/oci/core/models/fast_connect_provider_service.rb +17 -6
  73. data/lib/oci/core/models/i_scsi_volume_attachment.rb +17 -3
  74. data/lib/oci/core/models/icmp_options.rb +11 -1
  75. data/lib/oci/core/models/image.rb +28 -7
  76. data/lib/oci/core/models/image_source_details.rb +4 -1
  77. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +7 -3
  78. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -1
  79. data/lib/oci/core/models/ingress_security_rule.rb +10 -3
  80. data/lib/oci/core/models/instance.rb +33 -7
  81. data/lib/oci/core/models/instance_console_connection.rb +15 -0
  82. data/lib/oci/core/models/instance_credentials.rb +5 -2
  83. data/lib/oci/core/models/instance_source_details.rb +3 -1
  84. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
  85. data/lib/oci/core/models/instance_source_via_image_details.rb +2 -1
  86. data/lib/oci/core/models/internet_gateway.rb +20 -5
  87. data/lib/oci/core/models/ip_sec_connection.rb +23 -6
  88. data/lib/oci/core/models/ip_sec_connection_device_config.rb +7 -2
  89. data/lib/oci/core/models/ip_sec_connection_device_status.rb +7 -2
  90. data/lib/oci/core/models/launch_instance_details.rb +20 -3
  91. data/lib/oci/core/models/launch_options.rb +10 -4
  92. data/lib/oci/core/models/letter_of_authority.rb +10 -0
  93. data/lib/oci/core/models/local_peering_gateway.rb +29 -9
  94. data/lib/oci/core/models/port_range.rb +4 -2
  95. data/lib/oci/core/models/private_ip.rb +41 -1
  96. data/lib/oci/core/models/route_rule.rb +7 -2
  97. data/lib/oci/core/models/route_table.rb +22 -5
  98. data/lib/oci/core/models/security_list.rb +32 -8
  99. data/lib/oci/core/models/shape.rb +5 -1
  100. data/lib/oci/core/models/subnet.rb +38 -10
  101. data/lib/oci/core/models/tcp_options.rb +5 -0
  102. data/lib/oci/core/models/tunnel_config.rb +6 -2
  103. data/lib/oci/core/models/tunnel_status.rb +7 -1
  104. data/lib/oci/core/models/udp_options.rb +5 -0
  105. data/lib/oci/core/models/update_boot_volume_details.rb +1 -0
  106. data/lib/oci/core/models/update_console_history_details.rb +3 -0
  107. data/lib/oci/core/models/update_cpe_details.rb +1 -0
  108. data/lib/oci/core/models/update_cross_connect_details.rb +5 -1
  109. data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -0
  110. data/lib/oci/core/models/update_dhcp_details.rb +4 -0
  111. data/lib/oci/core/models/update_drg_attachment_details.rb +1 -0
  112. data/lib/oci/core/models/update_drg_details.rb +1 -0
  113. data/lib/oci/core/models/update_image_details.rb +3 -0
  114. data/lib/oci/core/models/update_instance_details.rb +3 -0
  115. data/lib/oci/core/models/update_internet_gateway_details.rb +3 -1
  116. data/lib/oci/core/models/update_ip_sec_connection_details.rb +1 -0
  117. data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -0
  118. data/lib/oci/core/models/update_private_ip_details.rb +5 -0
  119. data/lib/oci/core/models/update_route_table_details.rb +4 -0
  120. data/lib/oci/core/models/update_security_list_details.rb +5 -0
  121. data/lib/oci/core/models/update_subnet_details.rb +3 -0
  122. data/lib/oci/core/models/update_vcn_details.rb +3 -0
  123. data/lib/oci/core/models/update_virtual_circuit_details.rb +7 -0
  124. data/lib/oci/core/models/update_vnic_details.rb +4 -1
  125. data/lib/oci/core/models/update_volume_backup_details.rb +3 -0
  126. data/lib/oci/core/models/update_volume_details.rb +3 -0
  127. data/lib/oci/core/models/vcn.rb +24 -4
  128. data/lib/oci/core/models/virtual_circuit.rb +41 -0
  129. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -1
  130. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +8 -2
  131. data/lib/oci/core/models/vnic.rb +38 -9
  132. data/lib/oci/core/models/vnic_attachment.rb +21 -7
  133. data/lib/oci/core/models/volume.rb +28 -8
  134. data/lib/oci/core/models/volume_attachment.rb +25 -8
  135. data/lib/oci/core/models/volume_backup.rb +26 -5
  136. data/lib/oci/core/models/volume_source_details.rb +3 -0
  137. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -1
  138. data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -1
  139. data/lib/oci/core/virtual_network_client.rb +19 -5
  140. data/lib/oci/database/database_client.rb +19 -5
  141. data/lib/oci/database/models/backup.rb +13 -0
  142. data/lib/oci/database/models/backup_summary.rb +13 -0
  143. data/lib/oci/database/models/create_backup_details.rb +4 -2
  144. data/lib/oci/database/models/create_data_guard_association_details.rb +18 -4
  145. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -0
  146. data/lib/oci/database/models/create_database_details.rb +9 -2
  147. data/lib/oci/database/models/create_database_from_backup_details.rb +6 -3
  148. data/lib/oci/database/models/create_db_home_details.rb +5 -1
  149. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +5 -1
  150. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +6 -1
  151. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -0
  152. data/lib/oci/database/models/data_guard_association.rb +32 -7
  153. data/lib/oci/database/models/data_guard_association_summary.rb +32 -7
  154. data/lib/oci/database/models/database.rb +22 -5
  155. data/lib/oci/database/models/database_summary.rb +22 -5
  156. data/lib/oci/database/models/db_backup_config.rb +5 -1
  157. data/lib/oci/database/models/db_home.rb +22 -5
  158. data/lib/oci/database/models/db_home_summary.rb +22 -5
  159. data/lib/oci/database/models/db_node.rb +17 -5
  160. data/lib/oci/database/models/db_node_summary.rb +17 -5
  161. data/lib/oci/database/models/db_system.rb +56 -12
  162. data/lib/oci/database/models/db_system_shape_summary.rb +11 -2
  163. data/lib/oci/database/models/db_system_summary.rb +56 -12
  164. data/lib/oci/database/models/db_version_summary.rb +8 -2
  165. data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -1
  166. data/lib/oci/database/models/launch_db_system_details.rb +27 -8
  167. data/lib/oci/database/models/patch.rb +18 -4
  168. data/lib/oci/database/models/patch_details.rb +6 -0
  169. data/lib/oci/database/models/patch_history_entry.rb +12 -4
  170. data/lib/oci/database/models/patch_history_entry_summary.rb +12 -4
  171. data/lib/oci/database/models/patch_summary.rb +18 -4
  172. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -1
  173. data/lib/oci/database/models/restore_database_details.rb +4 -1
  174. data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -1
  175. data/lib/oci/database/models/update_database_details.rb +1 -0
  176. data/lib/oci/database/models/update_db_home_details.rb +3 -0
  177. data/lib/oci/database/models/update_db_system_details.rb +6 -0
  178. data/lib/oci/identity/identity.rb +3 -0
  179. data/lib/oci/identity/identity_client.rb +290 -70
  180. data/lib/oci/identity/models/add_user_to_group_details.rb +4 -2
  181. data/lib/oci/identity/models/api_key.rb +18 -0
  182. data/lib/oci/identity/models/availability_domain.rb +6 -0
  183. data/lib/oci/identity/models/compartment.rb +38 -10
  184. data/lib/oci/identity/models/create_api_key_details.rb +2 -1
  185. data/lib/oci/identity/models/create_compartment_details.rb +14 -7
  186. data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
  187. data/lib/oci/identity/models/create_dynamic_group_details.rb +160 -0
  188. data/lib/oci/identity/models/create_group_details.rb +14 -7
  189. data/lib/oci/identity/models/create_identity_provider_details.rb +19 -9
  190. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -2
  191. data/lib/oci/identity/models/create_policy_details.rb +18 -9
  192. data/lib/oci/identity/models/create_region_subscription_details.rb +2 -1
  193. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +10 -2
  194. data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
  195. data/lib/oci/identity/models/create_tag_details.rb +12 -6
  196. data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -7
  197. data/lib/oci/identity/models/create_user_details.rb +14 -7
  198. data/lib/oci/identity/models/customer_secret_key.rb +16 -0
  199. data/lib/oci/identity/models/customer_secret_key_summary.rb +10 -0
  200. data/lib/oci/identity/models/dynamic_group.rb +239 -0
  201. data/lib/oci/identity/models/group.rb +35 -11
  202. data/lib/oci/identity/models/identity_provider.rb +36 -12
  203. data/lib/oci/identity/models/idp_group_mapping.rb +27 -7
  204. data/lib/oci/identity/models/policy.rb +38 -11
  205. data/lib/oci/identity/models/region.rb +10 -0
  206. data/lib/oci/identity/models/region_subscription.rb +16 -5
  207. data/lib/oci/identity/models/saml2_identity_provider.rb +20 -3
  208. data/lib/oci/identity/models/swift_password.rb +17 -1
  209. data/lib/oci/identity/models/tag.rb +30 -13
  210. data/lib/oci/identity/models/tag_namespace.rb +25 -11
  211. data/lib/oci/identity/models/tag_namespace_summary.rb +23 -10
  212. data/lib/oci/identity/models/tag_summary.rb +21 -8
  213. data/lib/oci/identity/models/tenancy.rb +21 -4
  214. data/lib/oci/identity/models/ui_password.rb +10 -0
  215. data/lib/oci/identity/models/update_compartment_details.rb +10 -4
  216. data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -0
  217. data/lib/oci/identity/models/update_dynamic_group_details.rb +134 -0
  218. data/lib/oci/identity/models/update_group_details.rb +9 -4
  219. data/lib/oci/identity/models/update_identity_provider_details.rb +12 -5
  220. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -0
  221. data/lib/oci/identity/models/update_policy_details.rb +12 -5
  222. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -0
  223. data/lib/oci/identity/models/update_state_details.rb +2 -1
  224. data/lib/oci/identity/models/update_swift_password_details.rb +1 -0
  225. data/lib/oci/identity/models/update_tag_details.rb +15 -7
  226. data/lib/oci/identity/models/update_tag_namespace_details.rb +15 -7
  227. data/lib/oci/identity/models/update_user_details.rb +9 -4
  228. data/lib/oci/identity/models/user.rb +38 -11
  229. data/lib/oci/identity/models/user_group_membership.rb +16 -6
  230. data/lib/oci/load_balancer/load_balancer.rb +1 -0
  231. data/lib/oci/load_balancer/load_balancer_client.rb +24 -9
  232. data/lib/oci/load_balancer/models/backend.rb +20 -10
  233. data/lib/oci/load_balancer/models/backend_details.rb +12 -5
  234. data/lib/oci/load_balancer/models/backend_health.rb +6 -2
  235. data/lib/oci/load_balancer/models/backend_set.rb +14 -2
  236. data/lib/oci/load_balancer/models/backend_set_details.rb +11 -1
  237. data/lib/oci/load_balancer/models/backend_set_health.rb +15 -5
  238. data/lib/oci/load_balancer/models/certificate.rb +10 -3
  239. data/lib/oci/load_balancer/models/certificate_details.rb +10 -1
  240. data/lib/oci/load_balancer/models/connection_configuration.rb +157 -0
  241. data/lib/oci/load_balancer/models/create_backend_details.rb +15 -5
  242. data/lib/oci/load_balancer/models/create_backend_set_details.rb +13 -2
  243. data/lib/oci/load_balancer/models/create_certificate_details.rb +10 -1
  244. data/lib/oci/load_balancer/models/create_listener_details.rb +28 -5
  245. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -5
  246. data/lib/oci/load_balancer/models/health_check_result.rb +10 -4
  247. data/lib/oci/load_balancer/models/health_checker.rb +15 -4
  248. data/lib/oci/load_balancer/models/health_checker_details.rb +10 -1
  249. data/lib/oci/load_balancer/models/ip_address.rb +5 -2
  250. data/lib/oci/load_balancer/models/listener.rb +28 -5
  251. data/lib/oci/load_balancer/models/listener_details.rb +23 -4
  252. data/lib/oci/load_balancer/models/load_balancer.rb +30 -7
  253. data/lib/oci/load_balancer/models/load_balancer_health.rb +15 -5
  254. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
  255. data/lib/oci/load_balancer/models/load_balancer_policy.rb +6 -1
  256. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -1
  257. data/lib/oci/load_balancer/models/load_balancer_shape.rb +8 -1
  258. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +14 -2
  259. data/lib/oci/load_balancer/models/ssl_configuration.rb +11 -4
  260. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +6 -2
  261. data/lib/oci/load_balancer/models/update_backend_details.rb +12 -7
  262. data/lib/oci/load_balancer/models/update_backend_set_details.rb +12 -1
  263. data/lib/oci/load_balancer/models/update_health_checker_details.rb +16 -7
  264. data/lib/oci/load_balancer/models/update_listener_details.rb +23 -4
  265. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -1
  266. data/lib/oci/load_balancer/models/work_request.rb +20 -6
  267. data/lib/oci/load_balancer/models/work_request_error.rb +5 -1
  268. data/lib/oci/object_storage/models/bucket.rb +27 -8
  269. data/lib/oci/object_storage/models/bucket_summary.rb +16 -6
  270. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +7 -1
  271. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +8 -2
  272. data/lib/oci/object_storage/models/create_bucket_details.rb +15 -4
  273. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +10 -1
  274. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +7 -3
  275. data/lib/oci/object_storage/models/list_objects.rb +8 -1
  276. data/lib/oci/object_storage/models/multipart_upload.rb +20 -5
  277. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +13 -4
  278. data/lib/oci/object_storage/models/namespace_metadata.rb +8 -3
  279. data/lib/oci/object_storage/models/object_summary.rb +9 -1
  280. data/lib/oci/object_storage/models/preauthenticated_request.rb +20 -6
  281. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +13 -5
  282. data/lib/oci/object_storage/models/rename_object_details.rb +11 -2
  283. data/lib/oci/object_storage/models/restore_objects_details.rb +2 -1
  284. data/lib/oci/object_storage/models/update_bucket_details.rb +13 -2
  285. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -0
  286. data/lib/oci/object_storage/object_storage_client.rb +26 -12
  287. data/lib/oci/regions.rb +8 -1
  288. data/lib/oci/signer.rb +5 -124
  289. data/lib/oci/version.rb +1 -1
  290. metadata +31 -2
@@ -3,36 +3,46 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::BucketSummary
7
- # The namespace in which the bucket lives.
11
+ # **[Required]** The namespace in which the bucket lives.
8
12
  # @return [String]
9
13
  attr_accessor :namespace
10
14
 
11
- # The name of the bucket. Avoid entering confidential information.
15
+ # **[Required]** The name of the bucket. Avoid entering confidential information.
12
16
  # Example: my-new-bucket1
13
17
  #
14
18
  # @return [String]
15
19
  attr_accessor :name
16
20
 
17
- # The compartment ID in which the bucket is authorized.
21
+ # **[Required]** The compartment ID in which the bucket is authorized.
18
22
  # @return [String]
19
23
  attr_accessor :compartment_id
20
24
 
21
- # The OCID of the user who created the bucket.
25
+ # **[Required]** The OCID of the user who created the bucket.
22
26
  # @return [String]
23
27
  attr_accessor :created_by
24
28
 
25
- # The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616), section 14.29.
29
+ # **[Required]** The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616), section 14.29.
26
30
  # @return [DateTime]
27
31
  attr_accessor :time_created
28
32
 
29
- # The entity tag for the bucket.
33
+ # **[Required]** The entity tag for the bucket.
30
34
  # @return [String]
31
35
  attr_accessor :etag
32
36
 
33
37
 
34
38
  # Initializes the object
35
39
  # @param [Hash] attributes Model attributes in the form of hash
40
+ # @option attributes [String] :namespace The value to assign to the {#namespace} property
41
+ # @option attributes [String] :name The value to assign to the {#name} property
42
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
43
+ # @option attributes [String] :createdBy The value to assign to the {#created_by} property
44
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
45
+ # @option attributes [String] :etag The value to assign to the {#etag} property
36
46
  def initialize(attributes = {})
37
47
  return unless attributes.is_a?(Hash)
38
48
 
@@ -3,8 +3,12 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::CommitMultipartUploadDetails
7
- # The part numbers and ETags for the parts to be committed.
11
+ # **[Required]** The part numbers and ETags for the parts to be committed.
8
12
  # @return [Array<OCI::ObjectStorage::Models::CommitMultipartUploadPartDetails>]
9
13
  attr_accessor :parts_to_commit
10
14
 
@@ -17,6 +21,8 @@ module OCI
17
21
 
18
22
  # Initializes the object
19
23
  # @param [Hash] attributes Model attributes in the form of hash
24
+ # @option attributes [Array<OCI::ObjectStorage::Models::CommitMultipartUploadPartDetails>] :partsToCommit The value to assign to the {#parts_to_commit} property
25
+ # @option attributes [Array<Integer>] :partsToExclude The value to assign to the {#parts_to_exclude} property
20
26
  def initialize(attributes = {})
21
27
  return unless attributes.is_a?(Hash)
22
28
 
@@ -3,18 +3,24 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::CommitMultipartUploadPartDetails
7
- # The part number for this part.
11
+ # **[Required]** The part number for this part.
8
12
  # @return [Integer]
9
13
  attr_accessor :part_num
10
14
 
11
- # The ETag returned when this part was uploaded.
15
+ # **[Required]** The ETag returned when this part was uploaded.
12
16
  # @return [String]
13
17
  attr_accessor :etag
14
18
 
15
19
 
16
20
  # Initializes the object
17
21
  # @param [Hash] attributes Model attributes in the form of hash
22
+ # @option attributes [Integer] :partNum The value to assign to the {#part_num} property
23
+ # @option attributes [String] :etag The value to assign to the {#etag} property
18
24
  def initialize(attributes = {})
19
25
  return unless attributes.is_a?(Hash)
20
26
 
@@ -3,23 +3,28 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::CreateBucketDetails
7
11
 
8
12
  PUBLIC_ACCESS_TYPE_ENUM = [PUBLIC_ACCESS_TYPE_NO_PUBLIC_ACCESS = 'NoPublicAccess',
9
- PUBLIC_ACCESS_TYPE_OBJECT_READ = 'ObjectRead']
13
+ PUBLIC_ACCESS_TYPE_OBJECT_READ = 'ObjectRead',
14
+ PUBLIC_ACCESS_TYPE_OBJECT_READ_WITHOUT_LIST = 'ObjectReadWithoutList']
10
15
 
11
16
 
12
17
  STORAGE_TIER_ENUM = [STORAGE_TIER_STANDARD = 'Standard',
13
18
  STORAGE_TIER_ARCHIVE = 'Archive']
14
19
 
15
- # The name of the bucket. Valid characters are uppercase or lowercase letters,
20
+ # **[Required]** The name of the bucket. Valid characters are uppercase or lowercase letters,
16
21
  # numbers, and dashes. Bucket names must be unique within the namespace. Avoid entering confidential information.
17
22
  # example: Example: my-new-bucket1
18
23
  #
19
24
  # @return [String]
20
25
  attr_accessor :name
21
26
 
22
- # The ID of the compartment in which to create the bucket.
27
+ # **[Required]** The ID of the compartment in which to create the bucket.
23
28
  # @return [String]
24
29
  attr_accessor :compartment_id
25
30
 
@@ -30,7 +35,8 @@ module OCI
30
35
  # The type of public access enabled on this bucket.
31
36
  # A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the
32
37
  # bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the
33
- # `GetObject`, `HeadObject`, and `ListObjects` operations.
38
+ # `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket,
39
+ # public access is allowed for the `GetObject` and `HeadObject` operations.
34
40
  #
35
41
  # @return [String]
36
42
  attr_accessor :public_access_type
@@ -46,6 +52,11 @@ module OCI
46
52
 
47
53
  # Initializes the object
48
54
  # @param [Hash] attributes Model attributes in the form of hash
55
+ # @option attributes [String] :name The value to assign to the {#name} property
56
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
57
+ # @option attributes [Hash<String, String>] :metadata The value to assign to the {#metadata} property
58
+ # @option attributes [String] :publicAccessType The value to assign to the {#public_access_type} property
59
+ # @option attributes [String] :storageTier The value to assign to the {#storage_tier} property
49
60
  def initialize(attributes = {})
50
61
  return unless attributes.is_a?(Hash)
51
62
 
@@ -3,8 +3,12 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::CreateMultipartUploadDetails
7
- # The name of the object to which this multi-part upload is targeted. Avoid entering confidential information.
11
+ # **[Required]** The name of the object to which this multi-part upload is targeted. Avoid entering confidential information.
8
12
  # Example: test/object1.log
9
13
  #
10
14
  # @return [String]
@@ -31,6 +35,11 @@ module OCI
31
35
 
32
36
  # Initializes the object
33
37
  # @param [Hash] attributes Model attributes in the form of hash
38
+ # @option attributes [String] :object The value to assign to the {#object} property
39
+ # @option attributes [String] :contentType The value to assign to the {#content_type} property
40
+ # @option attributes [String] :contentLanguage The value to assign to the {#content_language} property
41
+ # @option attributes [String] :contentEncoding The value to assign to the {#content_encoding} property
42
+ # @option attributes [Hash<String, String>] :metadata The value to assign to the {#metadata} property
34
43
  def initialize(attributes = {})
35
44
  return unless attributes.is_a?(Hash)
36
45
 
@@ -10,7 +10,7 @@ module OCI
10
10
  ACCESS_TYPE_OBJECT_READ_WRITE = 'ObjectReadWrite',
11
11
  ACCESS_TYPE_ANY_OBJECT_WRITE = 'AnyObjectWrite']
12
12
 
13
- # A user-specified name for the pre-authenticated request. Helpful for management purposes.
13
+ # **[Required]** A user-specified name for the pre-authenticated request. Helpful for management purposes.
14
14
  # @return [String]
15
15
  attr_accessor :name
16
16
 
@@ -18,11 +18,11 @@ module OCI
18
18
  # @return [String]
19
19
  attr_accessor :object_name
20
20
 
21
- # The operation that can be performed on this resource.
21
+ # **[Required]** The operation that can be performed on this resource.
22
22
  # @return [String]
23
23
  attr_accessor :access_type
24
24
 
25
- # The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/rfc/rfc3339). After this date the pre-authenticated request will no longer be valid.
25
+ # **[Required]** The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/rfc/rfc3339). After this date the pre-authenticated request will no longer be valid.
26
26
  #
27
27
  # @return [DateTime]
28
28
  attr_accessor :time_expires
@@ -30,6 +30,10 @@ module OCI
30
30
 
31
31
  # Initializes the object
32
32
  # @param [Hash] attributes Model attributes in the form of hash
33
+ # @option attributes [String] :name The value to assign to the {#name} property
34
+ # @option attributes [String] :objectName The value to assign to the {#object_name} property
35
+ # @option attributes [String] :accessType The value to assign to the {#access_type} property
36
+ # @option attributes [DateTime] :timeExpires The value to assign to the {#time_expires} property
33
37
  def initialize(attributes = {})
34
38
  return unless attributes.is_a?(Hash)
35
39
 
@@ -3,8 +3,12 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::ListObjects
7
- # An array of object summaries.
11
+ # **[Required]** An array of object summaries.
8
12
  #
9
13
  # @return [Array<OCI::ObjectStorage::Models::ObjectSummary>]
10
14
  attr_accessor :objects
@@ -24,6 +28,9 @@ module OCI
24
28
 
25
29
  # Initializes the object
26
30
  # @param [Hash] attributes Model attributes in the form of hash
31
+ # @option attributes [Array<OCI::ObjectStorage::Models::ObjectSummary>] :objects The value to assign to the {#objects} property
32
+ # @option attributes [Array<String>] :prefixes The value to assign to the {#prefixes} property
33
+ # @option attributes [String] :nextStartWith The value to assign to the {#next_start_with} property
27
34
  def initialize(attributes = {})
28
35
  return unless attributes.is_a?(Hash)
29
36
 
@@ -3,30 +3,45 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # Multipart uploads provide efficient and resilient uploads, especially for large objects. Multipart uploads also accommodate
7
+ # objects that are too large for a single upload operation. With multipart uploads, individual parts of an object can be
8
+ # uploaded in parallel to reduce the amount of time you spend uploading. Multipart uploads can also minimize the impact
9
+ # of network failures by letting you retry a failed part upload instead of requiring you to retry an entire object upload.
10
+ # See [Managing Multipart Uploads](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingmultipartuploads.htm).
11
+ #
12
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
13
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
14
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
15
+ #
6
16
  class ObjectStorage::Models::MultipartUpload
7
- # The namespace in which the in-progress multipart upload is stored.
17
+ # **[Required]** The namespace in which the in-progress multipart upload is stored.
8
18
  # @return [String]
9
19
  attr_accessor :namespace
10
20
 
11
- # The bucket in which the in-progress multipart upload is stored.
21
+ # **[Required]** The bucket in which the in-progress multipart upload is stored.
12
22
  # @return [String]
13
23
  attr_accessor :bucket
14
24
 
15
- # The object name of the in-progress multipart upload.
25
+ # **[Required]** The object name of the in-progress multipart upload.
16
26
  # @return [String]
17
27
  attr_accessor :object
18
28
 
19
- # The unique identifier for the in-progress multipart upload.
29
+ # **[Required]** The unique identifier for the in-progress multipart upload.
20
30
  # @return [String]
21
31
  attr_accessor :upload_id
22
32
 
23
- # The date and time the upload was created, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616), section 14.29.
33
+ # **[Required]** The date and time the upload was created, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616), section 14.29.
24
34
  # @return [DateTime]
25
35
  attr_accessor :time_created
26
36
 
27
37
 
28
38
  # Initializes the object
29
39
  # @param [Hash] attributes Model attributes in the form of hash
40
+ # @option attributes [String] :namespace The value to assign to the {#namespace} property
41
+ # @option attributes [String] :bucket The value to assign to the {#bucket} property
42
+ # @option attributes [String] :object The value to assign to the {#object} property
43
+ # @option attributes [String] :uploadId The value to assign to the {#upload_id} property
44
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
30
45
  def initialize(attributes = {})
31
46
  return unless attributes.is_a?(Hash)
32
47
 
@@ -3,26 +3,35 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # Get summary information about multipart uploads.
7
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
8
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access,
9
+ # see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
10
+ #
6
11
  class ObjectStorage::Models::MultipartUploadPartSummary
7
- # The current entity tag for the part.
12
+ # **[Required]** The current entity tag for the part.
8
13
  # @return [String]
9
14
  attr_accessor :etag
10
15
 
11
- # The MD5 hash of the bytes of the part.
16
+ # **[Required]** The MD5 hash of the bytes of the part.
12
17
  # @return [String]
13
18
  attr_accessor :md5
14
19
 
15
- # The size of the part in bytes.
20
+ # **[Required]** The size of the part in bytes.
16
21
  # @return [Integer]
17
22
  attr_accessor :size
18
23
 
19
- # The part number for this part.
24
+ # **[Required]** The part number for this part.
20
25
  # @return [Integer]
21
26
  attr_accessor :part_number
22
27
 
23
28
 
24
29
  # Initializes the object
25
30
  # @param [Hash] attributes Model attributes in the form of hash
31
+ # @option attributes [String] :etag The value to assign to the {#etag} property
32
+ # @option attributes [String] :md5 The value to assign to the {#md5} property
33
+ # @option attributes [Integer] :size The value to assign to the {#size} property
34
+ # @option attributes [Integer] :partNumber The value to assign to the {#part_number} property
26
35
  def initialize(attributes = {})
27
36
  return unless attributes.is_a?(Hash)
28
37
 
@@ -3,22 +3,27 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # A NamespaceMetadta is a map for storing namespace and defaultS3CompartmentId, defaultSwiftCompartmentId.
7
+ #
6
8
  class ObjectStorage::Models::NamespaceMetadata
7
- # The namespace to which the metadata belongs.
9
+ # **[Required]** The namespace to which the metadata belongs.
8
10
  # @return [String]
9
11
  attr_accessor :namespace
10
12
 
11
- # The default compartment ID for an S3 client.
13
+ # **[Required]** The default compartment ID for an S3 client.
12
14
  # @return [String]
13
15
  attr_accessor :default_s3_compartment_id
14
16
 
15
- # The default compartment ID for a Swift client.
17
+ # **[Required]** The default compartment ID for a Swift client.
16
18
  # @return [String]
17
19
  attr_accessor :default_swift_compartment_id
18
20
 
19
21
 
20
22
  # Initializes the object
21
23
  # @param [Hash] attributes Model attributes in the form of hash
24
+ # @option attributes [String] :namespace The value to assign to the {#namespace} property
25
+ # @option attributes [String] :defaultS3CompartmentId The value to assign to the {#default_s3_compartment_id} property
26
+ # @option attributes [String] :defaultSwiftCompartmentId The value to assign to the {#default_swift_compartment_id} property
22
27
  def initialize(attributes = {})
23
28
  return unless attributes.is_a?(Hash)
24
29
 
@@ -3,8 +3,12 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
7
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
8
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
9
+ #
6
10
  class ObjectStorage::Models::ObjectSummary
7
- # The name of the object. Avoid entering confidential information.
11
+ # **[Required]** The name of the object. Avoid entering confidential information.
8
12
  # Example: test/object1.log
9
13
  #
10
14
  # @return [String]
@@ -25,6 +29,10 @@ module OCI
25
29
 
26
30
  # Initializes the object
27
31
  # @param [Hash] attributes Model attributes in the form of hash
32
+ # @option attributes [String] :name The value to assign to the {#name} property
33
+ # @option attributes [Integer] :size The value to assign to the {#size} property
34
+ # @option attributes [String] :md5 The value to assign to the {#md5} property
35
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
28
36
  def initialize(attributes = {})
29
37
  return unless attributes.is_a?(Hash)
30
38
 
@@ -3,6 +3,13 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # Pre-authenticated requests provide a way to let users access a bucket or an object without having their own credentials.
7
+ # When you create a pre-authenticated request, a unique URL is generated. Users in your organization, partners, or third
8
+ # parties can use this URL to access the targets identified in the pre-authenticated request. See [Managing Access to Buckets and Objects](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm).
9
+ #
10
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator.
11
+ # If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
12
+ #
6
13
  class ObjectStorage::Models::PreauthenticatedRequest
7
14
 
8
15
  ACCESS_TYPE_ENUM = [ACCESS_TYPE_OBJECT_READ = 'ObjectRead',
@@ -11,15 +18,15 @@ module OCI
11
18
  ACCESS_TYPE_ANY_OBJECT_WRITE = 'AnyObjectWrite',
12
19
  ACCESS_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
13
20
 
14
- # The unique identifier to use when directly addressing the pre-authenticated request.
21
+ # **[Required]** The unique identifier to use when directly addressing the pre-authenticated request.
15
22
  # @return [String]
16
23
  attr_accessor :id
17
24
 
18
- # The user-provided name of the pre-authenticated request.
25
+ # **[Required]** The user-provided name of the pre-authenticated request.
19
26
  # @return [String]
20
27
  attr_accessor :name
21
28
 
22
- # The URI to embed in the URL when using the pre-authenticated request.
29
+ # **[Required]** The URI to embed in the URL when using the pre-authenticated request.
23
30
  # @return [String]
24
31
  attr_accessor :access_uri
25
32
 
@@ -30,16 +37,16 @@ module OCI
30
37
  # @return [String]
31
38
  attr_accessor :object_name
32
39
 
33
- # The operation that can be performed on this resource.
40
+ # **[Required]** The operation that can be performed on this resource.
34
41
  # @return [String]
35
42
  attr_accessor :access_type
36
43
 
37
- # The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/rfc/rfc3339). After this date the pre-authenticated request will no longer be valid.
44
+ # **[Required]** The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/rfc/rfc3339). After this date the pre-authenticated request will no longer be valid.
38
45
  #
39
46
  # @return [DateTime]
40
47
  attr_accessor :time_expires
41
48
 
42
- # The date when the pre-authenticated request was created as per specification
49
+ # **[Required]** The date when the pre-authenticated request was created as per specification
43
50
  # [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
44
51
  #
45
52
  # @return [DateTime]
@@ -48,6 +55,13 @@ module OCI
48
55
 
49
56
  # Initializes the object
50
57
  # @param [Hash] attributes Model attributes in the form of hash
58
+ # @option attributes [String] :id The value to assign to the {#id} property
59
+ # @option attributes [String] :name The value to assign to the {#name} property
60
+ # @option attributes [String] :accessUri The value to assign to the {#access_uri} property
61
+ # @option attributes [String] :objectName The value to assign to the {#object_name} property
62
+ # @option attributes [String] :accessType The value to assign to the {#access_type} property
63
+ # @option attributes [DateTime] :timeExpires The value to assign to the {#time_expires} property
64
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
51
65
  def initialize(attributes = {})
52
66
  return unless attributes.is_a?(Hash)
53
67