comet_backup_ruby_sdk 1.14.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -0
  3. data/.rubocop.yml +0 -0
  4. data/CHANGELOG.md +26 -1
  5. data/Gemfile +2 -4
  6. data/Gemfile.lock +1 -1
  7. data/LICENSE +0 -0
  8. data/RELEASING.md +0 -0
  9. data/Rakefile +2 -4
  10. data/comet_backup_ruby_sdk.gemspec +1 -1
  11. data/lib/comet/api_response_error.rb +2 -4
  12. data/lib/comet/comet_server.rb +72 -21
  13. data/lib/comet/definitions.rb +53 -7
  14. data/lib/comet/models/add_bucket_response_message.rb +2 -4
  15. data/lib/comet/models/admin_account_properties_response.rb +2 -4
  16. data/lib/comet/models/admin_email_options.rb +2 -4
  17. data/lib/comet/models/admin_resource_response.rb +2 -4
  18. data/lib/comet/models/admin_security_options.rb +2 -4
  19. data/lib/comet/models/admin_u2fregistration.rb +2 -4
  20. data/lib/comet/models/admin_user_permissions.rb +2 -4
  21. data/lib/comet/models/admin_web_authn_registration.rb +2 -4
  22. data/lib/comet/models/allowed_admin_user.rb +2 -4
  23. data/lib/{models/wasabi_virtual_storage_role_settings.rb → comet/models/amazon_awsvirtual_storage_role_settings.rb} +4 -6
  24. data/lib/comet/models/authentication_role_options.rb +149 -0
  25. data/lib/comet/models/available_download.rb +2 -4
  26. data/lib/comet/models/azure_destination_location.rb +2 -4
  27. data/lib/comet/models/b2destination_location.rb +2 -4
  28. data/lib/comet/models/b2storage_extra_info.rb +2 -4
  29. data/lib/comet/models/b2transaction_totals.rb +2 -4
  30. data/lib/comet/models/b2virtual_storage_role_settings.rb +2 -4
  31. data/lib/comet/models/backup_job_advanced_options.rb +2 -4
  32. data/lib/comet/models/backup_job_detail.rb +2 -4
  33. data/lib/comet/models/backup_job_progress.rb +2 -4
  34. data/lib/comet/models/backup_rule_config.rb +2 -4
  35. data/lib/comet/models/backup_rule_event_triggers.rb +2 -4
  36. data/lib/comet/models/branding_options.rb +11 -4
  37. data/lib/comet/models/branding_properties.rb +11 -4
  38. data/lib/comet/models/browse_disk_drives_response.rb +2 -4
  39. data/lib/comet/models/browse_edbresponse.rb +2 -4
  40. data/lib/comet/models/browse_hvresponse.rb +2 -4
  41. data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +2 -4
  42. data/lib/comet/models/browse_office_365objects_response.rb +2 -4
  43. data/lib/comet/models/browse_sqlserver_response.rb +2 -4
  44. data/lib/comet/models/browse_vssresponse.rb +2 -4
  45. data/lib/comet/models/bucket_properties.rb +2 -4
  46. data/lib/comet/models/bucket_usage_info.rb +11 -4
  47. data/lib/comet/models/comet_apiresponse_message.rb +2 -4
  48. data/lib/comet/models/comet_destination_location.rb +2 -4
  49. data/lib/comet/models/constellation_check_report.rb +2 -4
  50. data/lib/{models/software_build_role_options.rb → comet/models/constellation_role_options.rb} +24 -11
  51. data/lib/comet/models/constellation_stats.rb +2 -4
  52. data/lib/comet/models/constellation_status_apiresponse.rb +2 -4
  53. data/lib/comet/models/content_measurement.rb +2 -4
  54. data/lib/comet/models/content_measurement_component.rb +2 -4
  55. data/lib/comet/models/create_group_policy_response.rb +2 -4
  56. data/lib/comet/models/custom_remote_bucket_settings.rb +2 -4
  57. data/lib/comet/models/days_of_week_config.rb +2 -4
  58. data/lib/comet/models/default_email_report_policy.rb +2 -4
  59. data/lib/comet/models/default_source_with_osrestriction.rb +2 -4
  60. data/lib/comet/models/destination_config.rb +11 -4
  61. data/lib/comet/models/destination_location.rb +11 -4
  62. data/lib/comet/models/destination_statistics.rb +2 -4
  63. data/lib/comet/models/device_config.rb +2 -4
  64. data/lib/comet/models/disk_drive.rb +2 -4
  65. data/lib/comet/models/dispatcher_admin_sources_response.rb +2 -4
  66. data/lib/comet/models/dispatcher_stored_objects_response.rb +2 -4
  67. data/lib/comet/models/dispatcher_vault_snapshots_response.rb +2 -4
  68. data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +2 -4
  69. data/lib/comet/models/edbfile_info.rb +2 -4
  70. data/lib/comet/models/email_options.rb +2 -4
  71. data/lib/comet/models/email_report_config.rb +2 -4
  72. data/lib/comet/models/email_report_generated_preview.rb +2 -4
  73. data/lib/{models/remote_server_address.rb → comet/models/external_authentication_source.rb} +23 -6
  74. data/lib/{models/get_profile_hash_response_message.rb → comet/models/external_ldapauthentication_source_server.rb} +30 -26
  75. data/lib/comet/models/external_ldapauthentication_source_settings.rb +23 -10
  76. data/lib/comet/models/extra_file_exclusion.rb +2 -4
  77. data/lib/comet/models/ftpdestination_location.rb +2 -4
  78. data/lib/comet/models/get_group_policy_response.rb +2 -4
  79. data/lib/comet/models/get_profile_and_hash_response_message.rb +2 -4
  80. data/lib/comet/models/get_profile_hash_response_message.rb +2 -4
  81. data/lib/{models/server_config_options_branding_fragment.rb → comet/models/global_override_options.rb} +14 -13
  82. data/lib/comet/models/group_policy.rb +2 -4
  83. data/lib/comet/models/hour_sched_config.rb +2 -4
  84. data/lib/{models/my_sqlconnection.rb → comet/models/httpconnector_options.rb} +58 -60
  85. data/lib/comet/models/hyper_vmachine_info.rb +2 -4
  86. data/lib/comet/models/install_creds.rb +2 -4
  87. data/lib/comet/models/install_token.rb +2 -4
  88. data/lib/comet/models/install_token_response.rb +2 -4
  89. data/lib/comet/models/job_entry.rb +2 -4
  90. data/lib/{models/web_authn_credential_entity.rb → comet/models/license_options.rb} +17 -19
  91. data/lib/comet/models/live_user_connection.rb +2 -4
  92. data/lib/comet/models/local_destination_location.rb +2 -4
  93. data/lib/{models/custom_remote_bucket_settings.rb → comet/models/local_storage_directory.rb} +10 -12
  94. data/lib/comet/models/mac_oscode_sign_properties.rb +2 -4
  95. data/lib/comet/models/mongo_dbconnection.rb +2 -4
  96. data/lib/comet/models/mssqlconnection.rb +2 -4
  97. data/lib/comet/models/my_sqlconnection.rb +2 -4
  98. data/lib/comet/models/new_bucket_detail.rb +2 -4
  99. data/lib/comet/models/news_entry.rb +2 -4
  100. data/lib/comet/models/office_365connection.rb +2 -4
  101. data/lib/comet/models/office_365credential.rb +2 -4
  102. data/lib/comet/models/office_365custom_setting.rb +2 -4
  103. data/lib/comet/models/office_365custom_setting_v2.rb +2 -4
  104. data/lib/comet/models/office_365mixed_virtual_account.rb +13 -4
  105. data/lib/comet/models/office_365object_info.rb +2 -4
  106. data/lib/comet/models/organization.rb +5 -7
  107. data/lib/comet/models/organization_response.rb +2 -4
  108. data/lib/comet/models/osinfo.rb +2 -4
  109. data/lib/comet/models/partition.rb +2 -4
  110. data/lib/comet/models/private_branding_properties.rb +11 -4
  111. data/lib/comet/models/protected_item_engine_type_policy.rb +2 -4
  112. data/lib/comet/models/public_branding_properties.rb +2 -4
  113. data/lib/{models/user_custom_email_settings.rb → comet/models/ratelimit_options.rb} +15 -15
  114. data/lib/{models/comet_apiresponse_message.rb → comet/models/ratelimit_rule.rb} +18 -20
  115. data/lib/comet/models/register_office_application_begin_response.rb +2 -4
  116. data/lib/comet/models/register_office_application_check_response.rb +2 -4
  117. data/lib/comet/models/remote_server_address.rb +23 -4
  118. data/lib/comet/models/remote_storage_option.rb +23 -4
  119. data/lib/{models/remote_storage_option.rb → comet/models/replica_server.rb} +24 -25
  120. data/lib/comet/models/replicator_state_apiresponse.rb +2 -4
  121. data/lib/comet/models/request_storage_vault_response_message.rb +2 -4
  122. data/lib/comet/models/restore_job_advanced_options.rb +8 -4
  123. data/lib/comet/models/retention_policy.rb +2 -4
  124. data/lib/comet/models/retention_range.rb +2 -4
  125. data/lib/comet/models/s3destination_location.rb +11 -4
  126. data/lib/{models → comet/models}/s3generic_virtual_storage_role.rb +2 -4
  127. data/lib/comet/models/schedule_config.rb +13 -4
  128. data/lib/comet/models/search_clause.rb +2 -4
  129. data/lib/{models/spanned_storage_extra_info.rb → comet/models/self_backup_options.rb} +6 -8
  130. data/lib/comet/models/self_backup_statistics.rb +2 -4
  131. data/lib/comet/models/self_backup_target.rb +137 -0
  132. data/lib/comet/models/server_config_options.rb +253 -0
  133. data/lib/comet/models/server_config_options_branding_fragment.rb +2 -4
  134. data/lib/comet/models/server_config_options_software_build_role_fragment.rb +2 -4
  135. data/lib/comet/models/server_meta_branding_properties.rb +2 -4
  136. data/lib/comet/models/server_meta_version_info.rb +2 -4
  137. data/lib/comet/models/session_key_regenerated_response.rb +2 -4
  138. data/lib/{models/update_campaign_device_status.rb → comet/models/session_options.rb} +10 -12
  139. data/lib/comet/models/sftpdestination_location.rb +2 -4
  140. data/lib/comet/models/size_measurement.rb +2 -4
  141. data/lib/comet/models/software_build_role_options.rb +2 -4
  142. data/lib/comet/models/software_update_news_response.rb +2 -4
  143. data/lib/comet/models/source_basic_info.rb +2 -4
  144. data/lib/comet/models/source_config.rb +2 -4
  145. data/lib/comet/models/source_include_pattern.rb +2 -4
  146. data/lib/comet/models/source_statistics.rb +2 -4
  147. data/lib/comet/models/spanned_destination_location.rb +2 -4
  148. data/lib/comet/models/spanned_storage_extra_info.rb +2 -4
  149. data/lib/comet/models/sshconnection.rb +2 -4
  150. data/lib/comet/models/stat_result.rb +2 -4
  151. data/lib/comet/models/storage_free_space_info.rb +2 -4
  152. data/lib/{models/constellation_status_apiresponse.rb → comet/models/storage_role_options.rb} +35 -39
  153. data/lib/comet/models/storage_vault_provider_policy.rb +2 -4
  154. data/lib/comet/models/stored_object.rb +2 -4
  155. data/lib/comet/models/streamable_event.rb +2 -4
  156. data/lib/comet/models/swift_destination_location.rb +2 -4
  157. data/lib/comet/models/test_response.rb +2 -4
  158. data/lib/comet/models/totp_regenerated_response.rb +2 -4
  159. data/lib/comet/models/u2fregister_request.rb +2 -4
  160. data/lib/comet/models/u2fregistered_key.rb +2 -4
  161. data/lib/comet/models/u2fregistration_challenge_response.rb +2 -4
  162. data/lib/comet/models/u2fsign_request.rb +2 -4
  163. data/lib/comet/models/u2fsign_response.rb +2 -4
  164. data/lib/comet/models/uninstall_config.rb +2 -4
  165. data/lib/comet/models/update_campaign_device_status.rb +2 -4
  166. data/lib/comet/models/update_campaign_options.rb +4 -6
  167. data/lib/comet/models/update_campaign_properties.rb +2 -4
  168. data/lib/comet/models/update_campaign_status.rb +2 -4
  169. data/lib/comet/models/update_campaign_status_device_entry.rb +2 -4
  170. data/lib/comet/models/user_custom_email_settings.rb +2 -4
  171. data/lib/comet/models/user_on_server.rb +2 -4
  172. data/lib/comet/models/user_policy.rb +13 -4
  173. data/lib/comet/models/user_profile_config.rb +12 -4
  174. data/lib/comet/models/user_profile_fragment.rb +2 -4
  175. data/lib/{models/user_profile_fragment.rb → comet/models/user_server_config.rb} +13 -13
  176. data/lib/comet/models/vault_snapshot.rb +2 -4
  177. data/lib/comet/models/vmdksnapshot_view_options.rb +2 -4
  178. data/lib/comet/models/vsscomponent.rb +2 -4
  179. data/lib/comet/models/vsswriter_info.rb +2 -4
  180. data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +2 -4
  181. data/lib/comet/models/web_authn_authenticator_selection.rb +2 -4
  182. data/lib/comet/models/web_authn_credential.rb +2 -4
  183. data/lib/comet/models/web_authn_credential_assertion.rb +2 -4
  184. data/lib/comet/models/web_authn_credential_descriptor.rb +2 -4
  185. data/lib/comet/models/web_authn_credential_entity.rb +2 -4
  186. data/lib/comet/models/web_authn_credential_parameter.rb +2 -4
  187. data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +2 -4
  188. data/lib/comet/models/web_authn_public_key_credential_request_options.rb +2 -4
  189. data/lib/comet/models/web_authn_registration_challenge_response.rb +2 -4
  190. data/lib/comet/models/web_authn_relying_party_entity.rb +2 -4
  191. data/lib/comet/models/web_authn_sign_request.rb +2 -4
  192. data/lib/comet/models/web_authn_sign_response.rb +2 -4
  193. data/lib/comet/models/web_authn_user_entity.rb +2 -4
  194. data/lib/comet/models/web_interface_branding_properties.rb +2 -4
  195. data/lib/comet/models/webhook_option.rb +2 -4
  196. data/lib/comet/models/win_smbauth.rb +2 -4
  197. data/lib/comet/models/windows_code_sign_properties.rb +2 -4
  198. data/lib/comet_backup_ruby_sdk.rb +21 -4
  199. metadata +21 -171
  200. data/lib/api_response_error.rb +0 -27
  201. data/lib/comet_server.rb +0 -3785
  202. data/lib/definitions.rb +0 -710
  203. data/lib/models/add_bucket_response_message.rb +0 -102
  204. data/lib/models/admin_account_properties_response.rb +0 -91
  205. data/lib/models/admin_email_options.rb +0 -84
  206. data/lib/models/admin_resource_response.rb +0 -93
  207. data/lib/models/admin_security_options.rb +0 -177
  208. data/lib/models/admin_u2fregistration.rb +0 -93
  209. data/lib/models/admin_user_permissions.rb +0 -106
  210. data/lib/models/admin_web_authn_registration.rb +0 -121
  211. data/lib/models/allowed_admin_user.rb +0 -214
  212. data/lib/models/available_download.rb +0 -90
  213. data/lib/models/azure_destination_location.rb +0 -111
  214. data/lib/models/b2destination_location.rb +0 -130
  215. data/lib/models/b2storage_extra_info.rb +0 -81
  216. data/lib/models/b2transaction_totals.rb +0 -93
  217. data/lib/models/b2virtual_storage_role_settings.rb +0 -99
  218. data/lib/models/backup_job_advanced_options.rb +0 -117
  219. data/lib/models/backup_job_detail.rb +0 -328
  220. data/lib/models/backup_job_progress.rb +0 -111
  221. data/lib/models/backup_rule_config.rb +0 -233
  222. data/lib/models/backup_rule_event_triggers.rb +0 -82
  223. data/lib/models/branding_options.rb +0 -335
  224. data/lib/models/branding_properties.rb +0 -293
  225. data/lib/models/browse_disk_drives_response.rb +0 -99
  226. data/lib/models/browse_edbresponse.rb +0 -99
  227. data/lib/models/browse_hvresponse.rb +0 -99
  228. data/lib/models/browse_office_365list_virtual_accounts_response.rb +0 -99
  229. data/lib/models/browse_office_365objects_response.rb +0 -99
  230. data/lib/models/browse_sqlserver_response.rb +0 -100
  231. data/lib/models/browse_vssresponse.rb +0 -99
  232. data/lib/models/bucket_properties.rb +0 -110
  233. data/lib/models/bucket_usage_info.rb +0 -97
  234. data/lib/models/comet_destination_location.rb +0 -93
  235. data/lib/models/constellation_check_report.rb +0 -99
  236. data/lib/models/constellation_stats.rb +0 -102
  237. data/lib/models/content_measurement.rb +0 -99
  238. data/lib/models/content_measurement_component.rb +0 -91
  239. data/lib/models/create_group_policy_response.rb +0 -93
  240. data/lib/models/days_of_week_config.rb +0 -108
  241. data/lib/models/default_email_report_policy.rb +0 -87
  242. data/lib/models/default_source_with_osrestriction.rb +0 -83
  243. data/lib/models/destination_config.rb +0 -562
  244. data/lib/models/destination_location.rb +0 -421
  245. data/lib/models/destination_statistics.rb +0 -115
  246. data/lib/models/device_config.rb +0 -124
  247. data/lib/models/disk_drive.rb +0 -180
  248. data/lib/models/dispatcher_admin_sources_response.rb +0 -100
  249. data/lib/models/dispatcher_stored_objects_response.rb +0 -99
  250. data/lib/models/dispatcher_vault_snapshots_response.rb +0 -99
  251. data/lib/models/dispatcher_windisk_snapshot_response.rb +0 -99
  252. data/lib/models/edbfile_info.rb +0 -99
  253. data/lib/models/email_options.rb +0 -153
  254. data/lib/models/email_report_config.rb +0 -98
  255. data/lib/models/email_report_generated_preview.rb +0 -136
  256. data/lib/models/external_ldapauthentication_source_settings.rb +0 -135
  257. data/lib/models/extra_file_exclusion.rb +0 -90
  258. data/lib/models/ftpdestination_location.rb +0 -141
  259. data/lib/models/get_group_policy_response.rb +0 -101
  260. data/lib/models/get_profile_and_hash_response_message.rb +0 -101
  261. data/lib/models/group_policy.rb +0 -98
  262. data/lib/models/hour_sched_config.rb +0 -84
  263. data/lib/models/hyper_vmachine_info.rb +0 -84
  264. data/lib/models/install_creds.rb +0 -99
  265. data/lib/models/install_token.rb +0 -117
  266. data/lib/models/install_token_response.rb +0 -92
  267. data/lib/models/job_entry.rb +0 -94
  268. data/lib/models/live_user_connection.rb +0 -149
  269. data/lib/models/local_destination_location.rb +0 -102
  270. data/lib/models/mac_oscode_sign_properties.rb +0 -197
  271. data/lib/models/mongo_dbconnection.rb +0 -230
  272. data/lib/models/mssqlconnection.rb +0 -120
  273. data/lib/models/new_bucket_detail.rb +0 -84
  274. data/lib/models/news_entry.rb +0 -93
  275. data/lib/models/office_365connection.rb +0 -131
  276. data/lib/models/office_365credential.rb +0 -111
  277. data/lib/models/office_365custom_setting.rb +0 -133
  278. data/lib/models/office_365custom_setting_v2.rb +0 -108
  279. data/lib/models/office_365mixed_virtual_account.rb +0 -211
  280. data/lib/models/office_365object_info.rb +0 -118
  281. data/lib/models/organization.rb +0 -151
  282. data/lib/models/organization_response.rb +0 -101
  283. data/lib/models/osinfo.rb +0 -99
  284. data/lib/models/partition.rb +0 -172
  285. data/lib/models/private_branding_properties.rb +0 -227
  286. data/lib/models/protected_item_engine_type_policy.rb +0 -88
  287. data/lib/models/public_branding_properties.rb +0 -132
  288. data/lib/models/register_office_application_begin_response.rb +0 -93
  289. data/lib/models/register_office_application_check_response.rb +0 -100
  290. data/lib/models/replicator_state_apiresponse.rb +0 -174
  291. data/lib/models/request_storage_vault_response_message.rb +0 -93
  292. data/lib/models/restore_job_advanced_options.rb +0 -131
  293. data/lib/models/retention_policy.rb +0 -90
  294. data/lib/models/retention_range.rb +0 -138
  295. data/lib/models/s3destination_location.rb +0 -123
  296. data/lib/models/schedule_config.rb +0 -131
  297. data/lib/models/search_clause.rb +0 -119
  298. data/lib/models/self_backup_statistics.rb +0 -108
  299. data/lib/models/server_config_options_software_build_role_fragment.rb +0 -74
  300. data/lib/models/server_meta_branding_properties.rb +0 -144
  301. data/lib/models/server_meta_version_info.rb +0 -261
  302. data/lib/models/session_key_regenerated_response.rb +0 -102
  303. data/lib/models/sftpdestination_location.rb +0 -135
  304. data/lib/models/size_measurement.rb +0 -93
  305. data/lib/models/software_update_news_response.rb +0 -109
  306. data/lib/models/source_basic_info.rb +0 -101
  307. data/lib/models/source_config.rb +0 -202
  308. data/lib/models/source_include_pattern.rb +0 -84
  309. data/lib/models/source_statistics.rb +0 -82
  310. data/lib/models/spanned_destination_location.rb +0 -87
  311. data/lib/models/sshconnection.rb +0 -126
  312. data/lib/models/stat_result.rb +0 -111
  313. data/lib/models/storage_free_space_info.rb +0 -110
  314. data/lib/models/storage_vault_provider_policy.rb +0 -88
  315. data/lib/models/stored_object.rb +0 -238
  316. data/lib/models/streamable_event.rb +0 -92
  317. data/lib/models/swift_destination_location.rb +0 -209
  318. data/lib/models/test_response.rb +0 -90
  319. data/lib/models/totp_regenerated_response.rb +0 -111
  320. data/lib/models/u2fregister_request.rb +0 -85
  321. data/lib/models/u2fregistered_key.rb +0 -94
  322. data/lib/models/u2fregistration_challenge_response.rb +0 -133
  323. data/lib/models/u2fsign_request.rb +0 -109
  324. data/lib/models/u2fsign_response.rb +0 -103
  325. data/lib/models/uninstall_config.rb +0 -78
  326. data/lib/models/update_campaign_options.rb +0 -113
  327. data/lib/models/update_campaign_properties.rb +0 -128
  328. data/lib/models/update_campaign_status.rb +0 -143
  329. data/lib/models/update_campaign_status_device_entry.rb +0 -93
  330. data/lib/models/user_on_server.rb +0 -84
  331. data/lib/models/user_policy.rb +0 -339
  332. data/lib/models/user_profile_config.rb +0 -349
  333. data/lib/models/vault_snapshot.rb +0 -99
  334. data/lib/models/vmdksnapshot_view_options.rb +0 -90
  335. data/lib/models/vsscomponent.rb +0 -99
  336. data/lib/models/vsswriter_info.rb +0 -90
  337. data/lib/models/web_authn_authenticator_selection.rb +0 -96
  338. data/lib/models/web_authn_credential.rb +0 -105
  339. data/lib/models/web_authn_credential_assertion.rb +0 -74
  340. data/lib/models/web_authn_credential_descriptor.rb +0 -101
  341. data/lib/models/web_authn_credential_parameter.rb +0 -84
  342. data/lib/models/web_authn_public_key_credential_creation_options.rb +0 -172
  343. data/lib/models/web_authn_public_key_credential_request_options.rb +0 -140
  344. data/lib/models/web_authn_registration_challenge_response.rb +0 -101
  345. data/lib/models/web_authn_relying_party_entity.rb +0 -95
  346. data/lib/models/web_authn_sign_request.rb +0 -83
  347. data/lib/models/web_authn_sign_response.rb +0 -84
  348. data/lib/models/web_authn_user_entity.rb +0 -105
  349. data/lib/models/web_interface_branding_properties.rb +0 -108
  350. data/lib/models/webhook_option.rb +0 -107
  351. data/lib/models/win_smbauth.rb +0 -102
  352. data/lib/models/windows_code_sign_properties.rb +0 -147
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a833332b5cd52d9b4e3758fcddb3b9373df704be059cf7111590c713d892969
4
- data.tar.gz: 54592e78d1caff12b0bb1c1bc45970732b18a9be8512a3d20df834bc2d2cf421
3
+ metadata.gz: e1541c88beaa1b7b97887d18d1ba96cf31c271f509d3f379affe65e6c6d3ab48
4
+ data.tar.gz: cab918f37bf9e129add1555a8f39a88e32495335c70a72aee8e0f1c660573722
5
5
  SHA512:
6
- metadata.gz: abaab4397fa41629c8c6f2aafa31729265b1d9d3563cce1dcf4153042468e68c2d8e861c08ef2d7dafc7ddf2929a5a183db9fbe967121abb40b836cb2a7509df
7
- data.tar.gz: 7c378053ecaee1576a4ea609a233c88e97b4122a8e46063f35ceea1cb07aac898d191c6a2e7e9020388ec75427ede2d4799352b8c942f1cf701b28c25b811af6
6
+ metadata.gz: ae6df3cc659a753e6f3638e17988af6e0e8b5bf4ea2b88be4150b05a421b9bdfaebbcd3d6cbe4e9284f1bd2d14d5e56bd4b9c8dff83fdf66a435f1c84c7773ab
7
+ data.tar.gz: cdbf3a20dc309b0285f3b08b5668e6e556becbd064fa2c8b0815c5df158490db582ce4018bf3e09e7270a5da290dd70af90d49d4934bd0711065a3a4015c3371
data/.gitignore CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,9 +1,34 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2022-07-27 v2.1.0
4
+ - Based on 22.6.7
5
+ - Add support enforcing the `RandomDelaySecs` for both whole-server and in policies
6
+ - Add support for username filter parameter in `AdminDispatcherListActive`
7
+ - Add custom region parameters for S3-compatible storage
8
+ - Add IDrive e2 as a Storage Template provider and in Constellation, including access-key cleanup
9
+ - Add `OverwriteIfNewer` to `RestoreJobAdvancedOptions`
10
+ - Add Office365 User Principal names
11
+
12
+ ## 2022-06-28 v2.0.0
13
+ - Based on 22.6.2
14
+ - **BREAKING:** The `Organization.Email` class member is now declared as `EmailOptions` type instead of `AdminEmailOptions`. This change is fully backward-compatible on the HTTP/JSON level, but may cause issues if your application code checked this type explicitly
15
+ - **BREAKING:** The `AdminOrganizationDeleteRequest` API's response type has changed to be `APIResponseMessage`, not `OrganizationResponse`. The Comet Server API had only ever filled in the `APIResponseMessage`-compatible fields of the `OrganizationResponse` structure, so the HTTP/JSON response is unchanged, but this may cause issues if your application code checked this type explicitly
16
+ - Move `frozen_string_literal` declaration to the top line of all `*.rb` files
17
+ - "Requestable" Storage Vaults have been renamed to "Storage Templates". The API endpoint is unchanged, so this is backward-compatible with older Comet Server instances
18
+ - Document all `ServerConfigOptions` types for the `AdminMetaServerConfigSet` and `AdminMetaServerConfigGet` APIs
19
+ - Add new `FallbackServers` option for LDAP external authentication sources
20
+ - Add new `RandomDelaySecs` option for job schedules
21
+
22
+ ## 2022-06-03 v1.15.0
23
+ - Based on 22.5.0
24
+ - Add `COMPRESS_*` compression settings for Self-Backups
25
+ - Add `RESTOREARCHIVEFORMAT_TARZSTD` for using the tar.zst archive restore format
26
+ - Add `target_organization` parameter to support cross-tenant operations in some API methods
27
+
3
28
  ## 2022-05-25 v1.14.0
4
29
  - Based on 22.3.7
5
30
  - Add new `REMOTESERVER_S3_GENERIC` `RemoteServerType`
6
- - add new `S3GenericVirtualStorageRole` support to the `RemoteServerAddress`
31
+ - Add new `S3GenericVirtualStorageRole` support to the `RemoteServerAddress`
7
32
 
8
33
  ## 2022-05-10 v1.13.0
9
34
  - Based on 22.3.5
data/Gemfile CHANGED
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  source 'https://rubygems.org'
11
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comet_backup_ruby_sdk (1.14.0)
4
+ comet_backup_ruby_sdk (2.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/LICENSE CHANGED
File without changes
data/RELEASING.md CHANGED
File without changes
data/Rakefile CHANGED
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'rake/testtask'
11
9
  require 'rubocop/rake_task'
@@ -12,7 +12,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
12
12
 
13
13
  Gem::Specification.new do |spec|
14
14
  spec.name = 'comet_backup_ruby_sdk'
15
- spec.version = '1.14.0'
15
+ spec.version = '2.1.0'
16
16
  spec.authors = ['Comet Licensing Ltd.']
17
17
  spec.email = ['hello@cometbackup.com']
18
18
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  module Comet
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'net/http'
11
9
  require 'json'
@@ -314,8 +312,9 @@ module Comet
314
312
  # @param [String] target_password New account password
315
313
  # @param [Number] store_recovery_code (Optional) If set to 1, store and keep a password recovery code for the generated user (>= 18.3.9)
316
314
  # @param [Number] require_password_change (Optional) If set to 1, require to reset password at the first login for the generated user (>= 20.3.4)
315
+ # @param [String] target_organization (Optional) If present, create the user account on behalf of another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
317
316
  # @return [Comet::CometAPIResponseMessage]
318
- def admin_add_user(target_user, target_password, store_recovery_code = nil, require_password_change = nil)
317
+ def admin_add_user(target_user, target_password, store_recovery_code = nil, require_password_change = nil, target_organization = nil)
319
318
  submit_params = {}
320
319
  raise TypeError, "'target_user' expected String, got #{target_user.class}" unless target_user.is_a? String
321
320
 
@@ -333,6 +332,11 @@ module Comet
333
332
 
334
333
  submit_params['RequirePasswordChange'] = require_password_change
335
334
  end
335
+ unless target_organization.nil?
336
+ raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
337
+
338
+ submit_params['TargetOrganization'] = target_organization
339
+ end
336
340
 
337
341
  body = perform_request('api/v1/admin/add-user', submit_params)
338
342
  json_body = JSON.parse body
@@ -352,8 +356,9 @@ module Comet
352
356
  #
353
357
  # @param [String] target_user New account username
354
358
  # @param [Comet::UserProfileConfig] profile_data New account profile
359
+ # @param [String] target_organization (Optional) If present, create the user account on behalf of another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
355
360
  # @return [Comet::CometAPIResponseMessage]
356
- def admin_add_user_from_profile(target_user, profile_data)
361
+ def admin_add_user_from_profile(target_user, profile_data, target_organization = nil)
357
362
  submit_params = {}
358
363
  raise TypeError, "'target_user' expected String, got #{target_user.class}" unless target_user.is_a? String
359
364
 
@@ -361,6 +366,11 @@ module Comet
361
366
  raise TypeError, "'profile_data' expected Comet::UserProfileConfig, got #{profile_data.class}" unless profile_data.is_a? Comet::UserProfileConfig
362
367
 
363
368
  submit_params['ProfileData'] = profile_data.to_json
369
+ unless target_organization.nil?
370
+ raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
371
+
372
+ submit_params['TargetOrganization'] = target_organization
373
+ end
364
374
 
365
375
  body = perform_request('api/v1/admin/add-user-from-profile', submit_params)
366
376
  json_body = JSON.parse body
@@ -1202,9 +1212,17 @@ module Comet
1202
1212
  # You must supply administrator authentication credentials to use this API.
1203
1213
  # This API requires the Auth Role to be enabled.
1204
1214
  #
1215
+ # @param [String] user_name_filter (Optional) User name filter string
1205
1216
  # @return [Hash{String => Comet::LiveUserConnection}]
1206
- def admin_dispatcher_list_active
1207
- body = perform_request('api/v1/admin/dispatcher/list-active')
1217
+ def admin_dispatcher_list_active(user_name_filter = nil)
1218
+ submit_params = {}
1219
+ unless user_name_filter.nil?
1220
+ raise TypeError, "'user_name_filter' expected String, got #{user_name_filter.class}" unless user_name_filter.is_a? String
1221
+
1222
+ submit_params['UserNameFilter'] = user_name_filter
1223
+ end
1224
+
1225
+ body = perform_request('api/v1/admin/dispatcher/list-active', submit_params)
1208
1226
  json_body = JSON.parse body
1209
1227
  check_status json_body
1210
1228
  ret = {}
@@ -2180,7 +2198,9 @@ module Comet
2180
2198
  #
2181
2199
  # This API will return all jobs that either started or ended within the supplied range.
2182
2200
  #
2183
- # Incomplete jobs have an end time of `0`. You can use this API to find incomplete jobs by setting both `Start` and `End` to `0`.
2201
+ # Incomplete jobs have an end time of `0`. You can use this API to find only incomplete jobs by setting both `Start` and `End` to `0`.
2202
+ #
2203
+ # Prior to Comet Server 22.6.0, additional Incomplete jobs may have been returned if you specified non-zero arguments for both `Start` and `End`.
2184
2204
  #
2185
2205
  # You must supply administrator authentication credentials to use this API.
2186
2206
  # This API requires the Auth Role to be enabled.
@@ -2586,7 +2606,7 @@ module Comet
2586
2606
 
2587
2607
  # AdminMetaRemoteStorageVaultSet
2588
2608
  #
2589
- # Set Requestable Remote Storage Vault options.
2609
+ # Set Storage template vault options.
2590
2610
  #
2591
2611
  # You must supply administrator authentication credentials to use this API.
2592
2612
  # Access to this API may be prevented on a per-administrator basis.
@@ -2974,12 +2994,14 @@ module Comet
2974
2994
  #
2975
2995
  # Delete an organization and all related users.
2976
2996
  #
2997
+ # Prior to Comet 22.6.0, this API was documented as returning the OrganizationResponse type. However, it always has returned only a CometAPIResponseMessage.
2998
+ #
2977
2999
  # You must supply administrator authentication credentials to use this API.
2978
3000
  # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2979
3001
  #
2980
3002
  # @param [String] organization_id (Optional) (No description available)
2981
3003
  # @param [Comet::UninstallConfig] uninstall_config (Optional) Uninstall software configuration
2982
- # @return [Comet::OrganizationResponse]
3004
+ # @return [Comet::CometAPIResponseMessage]
2983
3005
  def admin_organization_delete(organization_id = nil, uninstall_config = nil)
2984
3006
  submit_params = {}
2985
3007
  unless organization_id.nil?
@@ -2996,7 +3018,7 @@ module Comet
2996
3018
  body = perform_request('api/v1/admin/organization/delete', submit_params)
2997
3019
  json_body = JSON.parse body
2998
3020
  check_status json_body
2999
- ret = Comet::OrganizationResponse.new
3021
+ ret = Comet::CometAPIResponseMessage.new
3000
3022
  ret.from_hash(json_body)
3001
3023
  ret
3002
3024
  end
@@ -3029,6 +3051,8 @@ module Comet
3029
3051
  #
3030
3052
  # Create or Update an Organization.
3031
3053
  #
3054
+ # Prior to Comet 22.6.0, the 'ID' and 'Organization' fields were not present in the response.
3055
+ #
3032
3056
  # You must supply administrator authentication credentials to use this API.
3033
3057
  # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3034
3058
  #
@@ -3106,13 +3130,22 @@ module Comet
3106
3130
  # AdminPoliciesList
3107
3131
  #
3108
3132
  # List all policy object names.
3133
+ # For the top-level organization, the API result includes all policies for all organizations, unless the TargetOrganization parameter is present.
3109
3134
  #
3110
3135
  # You must supply administrator authentication credentials to use this API.
3111
3136
  # This API requires the Auth Role to be enabled.
3112
3137
  #
3138
+ # @param [String] target_organization (Optional) If present, list the policies belonging to another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
3113
3139
  # @return [Hash{String => String}]
3114
- def admin_policies_list
3115
- body = perform_request('api/v1/admin/policies/list')
3140
+ def admin_policies_list(target_organization = nil)
3141
+ submit_params = {}
3142
+ unless target_organization.nil?
3143
+ raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
3144
+
3145
+ submit_params['TargetOrganization'] = target_organization
3146
+ end
3147
+
3148
+ body = perform_request('api/v1/admin/policies/list', submit_params)
3116
3149
  json_body = JSON.parse body
3117
3150
  check_status json_body
3118
3151
  ret = {}
@@ -3131,13 +3164,22 @@ module Comet
3131
3164
  # AdminPoliciesListFull
3132
3165
  #
3133
3166
  # Get all policy objects.
3167
+ # For the top-level organization, the API result includes all policies for all organizations, unless the TargetOrganization parameter is present.
3134
3168
  #
3135
3169
  # You must supply administrator authentication credentials to use this API.
3136
3170
  # This API requires the Auth Role to be enabled.
3137
3171
  #
3172
+ # @param [String] target_organization (Optional) If present, list the policies belonging to another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
3138
3173
  # @return [Hash{String => Comet::GroupPolicy}]
3139
- def admin_policies_list_full
3140
- body = perform_request('api/v1/admin/policies/list-full')
3174
+ def admin_policies_list_full(target_organization = nil)
3175
+ submit_params = {}
3176
+ unless target_organization.nil?
3177
+ raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
3178
+
3179
+ submit_params['TargetOrganization'] = target_organization
3180
+ end
3181
+
3182
+ body = perform_request('api/v1/admin/policies/list-full', submit_params)
3141
3183
  json_body = JSON.parse body
3142
3184
  check_status json_body
3143
3185
  ret = {}
@@ -3272,12 +3314,13 @@ module Comet
3272
3314
  # Request a new Storage Vault on behalf of a user.
3273
3315
  # This action does not respect the "Prevent creating new Storage Vaults (via Request)" policy setting. New Storage Vaults can be requested regardless of the policy setting.
3274
3316
  # Prior to Comet 19.8.0, the response type was CometAPIResponseMessage (i.e. no DestinationID field in response).
3317
+ # The StorageProvider must exist for the target user account's organization.
3275
3318
  #
3276
3319
  # You must supply administrator authentication credentials to use this API.
3277
3320
  # This API requires the Auth Role to be enabled.
3278
3321
  #
3279
3322
  # @param [String] target_user The user to receive the new Storage Vault
3280
- # @param [String] storage_provider ID for the Requestable destination
3323
+ # @param [String] storage_provider ID for the storage template destination
3281
3324
  # @param [String] self_address (Optional) The external URL for this server. Used to resolve conflicts
3282
3325
  # @return [Comet::RequestStorageVaultResponseMessage]
3283
3326
  def admin_request_storage_vault(target_user, storage_provider, self_address = nil)
@@ -3311,9 +3354,17 @@ module Comet
3311
3354
  # You must supply administrator authentication credentials to use this API.
3312
3355
  # This API requires the Auth Role to be enabled.
3313
3356
  #
3357
+ # @param [String] target_organization (Optional) If present, list the storage template options belonging to another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
3314
3358
  # @return [Hash{String => String}]
3315
- def admin_request_storage_vault_providers
3316
- body = perform_request('api/v1/admin/request-storage-vault-providers')
3359
+ def admin_request_storage_vault_providers(target_organization = nil)
3360
+ submit_params = {}
3361
+ unless target_organization.nil?
3362
+ raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
3363
+
3364
+ submit_params['TargetOrganization'] = target_organization
3365
+ end
3366
+
3367
+ body = perform_request('api/v1/admin/request-storage-vault-providers', submit_params)
3317
3368
  json_body = JSON.parse body
3318
3369
  check_status json_body
3319
3370
  ret = {}
@@ -3730,7 +3781,7 @@ module Comet
3730
3781
 
3731
3782
  ret_error = Comet::CometAPIResponseMessage.new
3732
3783
  ret_error.from_hash(obj)
3733
- raise Comet::APIResponseError, ret_error
3784
+ raise Comet::APIResponseError.new(ret_error)
3734
3785
  end
3735
3786
 
3736
3787
  # Perform a synchronous HTTP request.
@@ -3767,7 +3818,7 @@ module Comet
3767
3818
 
3768
3819
  form_params = []
3769
3820
  params.each do |k, v|
3770
- form_params.append [k, v, { :filename => k }]
3821
+ form_params.append [k, v, {:filename => k}]
3771
3822
  end
3772
3823
  req.set_form(form_params, 'multipart/form-data')
3773
3824
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  module Comet
11
9
 
@@ -235,6 +233,9 @@ module Comet
235
233
  # RestoreArchiveFormat: SquashFS container
236
234
  RESTOREARCHIVEFORMAT_SQFS = 3
237
235
 
236
+ # RestoreArchiveFormat:
237
+ RESTOREARCHIVEFORMAT_TARZSTD = 4
238
+
238
239
  # RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be ignored.
239
240
  RETENTIONMODE_KEEP_EVERYTHING = 801
240
241
 
@@ -319,6 +320,9 @@ module Comet
319
320
 
320
321
  SCHEDULE_FREQUENCY_HIGHEST = 8015
321
322
 
323
+ # Maximum random delay (5 hours)
324
+ SCHEDULE_MAX_RANDOM_DELAY_SECS = 18_000
325
+
322
326
  # 2^50 (1 << 50)
323
327
  SCHEDULE_MAXINT = 1_125_899_906_842_624
324
328
 
@@ -465,13 +469,13 @@ module Comet
465
469
 
466
470
  DEFAULT_TIMEZONE = 'UTC'
467
471
 
468
- APPLICATION_VERSION = '22.3.5'
472
+ APPLICATION_VERSION = '22.6.7'
469
473
 
470
474
  APPLICATION_VERSION_MAJOR = 22
471
475
 
472
- APPLICATION_VERSION_MINOR = 3
476
+ APPLICATION_VERSION_MINOR = 6
473
477
 
474
- APPLICATION_VERSION_REVISION = 5
478
+ APPLICATION_VERSION_REVISION = 7
475
479
 
476
480
  RELEASE_CODENAME = 'Voyager'
477
481
 
@@ -652,10 +656,22 @@ module Comet
652
656
  # RemoteServerType:
653
657
  REMOTESERVER_CUSTOM = 'custom'
654
658
 
659
+ # RemoteServerType:
660
+ REMOTESERVER_S3_GENERIC = 's3'
661
+
662
+ # RemoteServerType:
663
+ REMOTESERVER_AWS = 'aws'
664
+
665
+ # RemoteServerType:
666
+ REMOTESERVER_IDRIVEE2 = 'idrivee2'
667
+
668
+ # LDAPSecurityMethod:
655
669
  LDAPSECURITYMETHOD_PLAIN = 'plain'
656
670
 
671
+ # LDAPSecurityMethod:
657
672
  LDAPSECURITYMETHOD_LDAPS = 'ldaps'
658
673
 
674
+ # LDAPSecurityMethod:
659
675
  LDAPSECURITYMETHOD_STARTTLS = 'starttls'
660
676
 
661
677
  # MacOSCodesignLevel:
@@ -667,6 +683,12 @@ module Comet
667
683
  # MacOSCodesignLevel:
668
684
  MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
669
685
 
686
+ # ClientBrandingBuildMode: Public-Doc: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
687
+ CLIENTBRANDINGBUILD_CUSTOM = 0
688
+
689
+ # ClientBrandingBuildMode: Public-Doc: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
690
+ CLIENTBRANDINGBUILD_PREBUILT = 1
691
+
670
692
  # StreamableEventType:
671
693
  SEVT__MIN = 4000
672
694
 
@@ -694,6 +716,30 @@ module Comet
694
716
  # StreamableEventType:
695
717
  SEVT__MAX = 4999
696
718
 
719
+ # CompressMode:
720
+ COMPRESS_INVALID = 0
721
+
722
+ # CompressMode:
723
+ COMPRESS_LVL_1 = 1
724
+
725
+ # CompressMode:
726
+ COMPRESS_LVL_2 = 2
727
+
728
+ # CompressMode:
729
+ COMPRESS_LVL_3 = 3
730
+
731
+ # CompressMode:
732
+ COMPRESS_LVL_4 = 4
733
+
734
+ # CompressMode:
735
+ COMPRESS_LVL_5 = 5
736
+
737
+ # CompressMode:
738
+ COMPRESS_MAX = COMPRESS_LVL_5
739
+
740
+ # CompressMode:
741
+ COMPRESS_DEFAULT = COMPRESS_LVL_4
742
+
697
743
  OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
698
744
 
699
745
  OFFICE365_REGION_CHINA = 'ChinaCloud'
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'base64'
11
9
  require 'json'
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'base64'
11
9
  require 'json'
@@ -1,11 +1,9 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
@@ -1,18 +1,16 @@
1
- #!/usr/bin/env ruby --enable-frozen-string-literal
2
- #
1
+ # frozen_string_literal: true
2
+
3
3
  # Copyright (c) 2020-2022 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
- #
8
- # frozen_string_literal: true
9
7
 
10
8
  require 'json'
11
9
 
12
10
  module Comet
13
11
 
14
- # WasabiVirtualStorageRoleSettings is a typed class wrapper around the underlying Comet Server API data structure.
15
- class WasabiVirtualStorageRoleSettings
12
+ # AmazonAWSVirtualStorageRoleSettings is a typed class wrapper around the underlying Comet Server API data structure.
13
+ class AmazonAWSVirtualStorageRoleSettings
16
14
 
17
15
  # @type [String] master_bucket
18
16
  attr_accessor :master_bucket