comet_backup_ruby_sdk 2.38.0 → 2.40.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 559b4995b120e9ebd54810f4c808e8d0cb36f0799ea97d9bdbf26ac5dc27508f
4
- data.tar.gz: c59f6e40f566b7c011562c6532233eec43f67fac346d37fa08586b344ce9d03e
3
+ metadata.gz: 8de6d34a1a34e2fef7d5b970bfc33cc451106ca28c7a292060ebbee262bb7ed3
4
+ data.tar.gz: 9e0bde4efe6c21153d91881efbf6f8b74ea7b4881a21ff85cda2f7675297e516
5
5
  SHA512:
6
- metadata.gz: e2420d761669565217d482531cc3c75220f6ea99fa7bacbe3f95b04c985f9e0310a5b324f060145f01c24276543724ade3dbc4f2d654d838276068a64684b339
7
- data.tar.gz: f630881d973b35d820385f302aa9977d8dfe6ed9cc58a49df5e40a6eaccfc8bcf7ac2348de945258de3128a786434efb676901fa0b248f6a27701025387cd983
6
+ metadata.gz: c47886f036adebb1cd44c44e5bd371cefe470e3cd569925d451f0a8c5d4983a97d70db58afc6ec89d82cab2e34ce6cb2ac75a68394ac2440bd94a98bb47609bf
7
+ data.tar.gz: 2ce781adab00183ab1533cbf0f207cb976be7f590df60b2147fc54384670abe6bd6047067d78047f407bcc1137fb10eeb135934a4f47027aa40bddd5d2ea2e78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2025-01-29 v2.40.0
4
+
5
+ - Based on Comet 24.12.4
6
+
7
+ ## 2025-01-22 v2.39.0
8
+
9
+ - Based on Comet 24.12.3
10
+ - Additional properties for BrandingOptions, BrandingProperties and ServerMetaBrandingProperties
11
+
3
12
  ## 2025-01-15 v2.38.0
4
13
 
5
14
  - Based on Comet 24.12.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comet_backup_ruby_sdk (2.38.0)
4
+ comet_backup_ruby_sdk (2.40.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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 = '2.38.0'
15
+ spec.version = '2.40.0'
16
16
  spec.authors = ['Comet Licensing Ltd.']
17
17
  spec.email = ['hello@cometbackup.com']
18
18
 
@@ -163,7 +163,8 @@ module Comet
163
163
  # Update settings for your own admin account.
164
164
  # Updating your account password requires you to supply your current password.
165
165
  # To set a new plaintext password, use a password format of 0 (PASSWORD_FORMAT_PLAINTEXT).
166
- # This API does not currently allow you to modify your TOTP secret or IP whitelist.
166
+ # This API does not currently allow you to modify your TOTP secret.
167
+ # In Comet 24.12.2 and later, this API can change the IPWhitelist field. Prior to this, changes to the IPWhitelist field were ignored.
167
168
  #
168
169
  # You must supply administrator authentication credentials to use this API.
169
170
  #
@@ -7,13 +7,13 @@
7
7
 
8
8
  module Comet
9
9
 
10
- APPLICATION_VERSION = '24.12.2'
10
+ APPLICATION_VERSION = '24.12.4'
11
11
 
12
12
  APPLICATION_VERSION_MAJOR = 24
13
13
 
14
14
  APPLICATION_VERSION_MINOR = 12
15
15
 
16
- APPLICATION_VERSION_REVISION = 2
16
+ APPLICATION_VERSION_REVISION = 4
17
17
 
18
18
  # AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention Pass after each backup job.
19
19
  BACKUPJOBAUTORETENTION_AUTOMATIC = 0
@@ -245,14 +245,14 @@ module Comet
245
245
  # FtpsModeType: Use explicit FTPS, first creating an insecure connection and then upgrading to SSL/TLS using AUTH TLS (like STARTTLS).
246
246
  FTPS_MODE_EXPLICIT = 2
247
247
 
248
- # Back up Hyper-V virtual machines using VSS mode. This includes all previous snapshots.
248
+ # HypervMethod: Back up Hyper-V virtual machines using VSS mode. This includes all previous snapshots.
249
249
  HYPERV_METHOD_VSS = 'vss'
250
250
 
251
- # Back up Hyper-V virtual machines using WMI mode. This includes the latest snapshot data only.
251
+ # HypervMethod: Back up Hyper-V virtual machines using WMI mode. This includes the latest snapshot data only.
252
252
  # This const is available in Comet 23.9.8 and later.
253
253
  HYPERV_METHOD_WMI_COPY = 'copy'
254
254
 
255
- # Back up Hyper-V virtual machines using WMI mode with RCT acceleration. This includes the latest snapshot data only.
255
+ # HypervMethod: Back up Hyper-V virtual machines using WMI mode with RCT acceleration. This includes the latest snapshot data only.
256
256
  # This const is available in Comet 23.9.8 and later.
257
257
  HYPERV_METHOD_WMI_CBT = 'wmi'
258
258
 
@@ -59,6 +59,15 @@ module Comet
59
59
  # @type [Boolean] hide_background_logo
60
60
  attr_accessor :hide_background_logo
61
61
 
62
+ # @type [String] cloud_storage_name
63
+ attr_accessor :cloud_storage_name
64
+
65
+ # @type [Boolean] admin_hide_pre_built_client_option
66
+ attr_accessor :admin_hide_pre_built_client_option
67
+
68
+ # @type [Boolean] admin_hide_branded_cloud_storage
69
+ attr_accessor :admin_hide_branded_cloud_storage
70
+
62
71
  # One of the CLIENTBRANDINGBUILD_ constants
63
72
  # @type [Number] build_mode
64
73
  attr_accessor :build_mode
@@ -163,6 +172,7 @@ module Comet
163
172
  @default_login_server_url = ''
164
173
  @tile_background_color = ''
165
174
  @account_register_url = ''
175
+ @cloud_storage_name = ''
166
176
  @build_mode = 0
167
177
  @path_ico_file = ''
168
178
  @path_icns_file = ''
@@ -259,6 +269,14 @@ module Comet
259
269
  @account_register_url = v
260
270
  when 'HideBackgroundLogo'
261
271
  @hide_background_logo = v
272
+ when 'CloudStorageName'
273
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
274
+
275
+ @cloud_storage_name = v
276
+ when 'AdminHidePreBuiltClientOption'
277
+ @admin_hide_pre_built_client_option = v
278
+ when 'AdminHideBrandedCloudStorage'
279
+ @admin_hide_branded_cloud_storage = v
262
280
  when 'BuildMode'
263
281
  raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
264
282
 
@@ -386,6 +404,9 @@ module Comet
386
404
  ret['TileBackgroundColor'] = @tile_background_color
387
405
  ret['AccountRegisterURL'] = @account_register_url
388
406
  ret['HideBackgroundLogo'] = @hide_background_logo
407
+ ret['CloudStorageName'] = @cloud_storage_name
408
+ ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
409
+ ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
389
410
  ret['BuildMode'] = @build_mode
390
411
  ret['PathIcoFile'] = @path_ico_file
391
412
  ret['PathIcnsFile'] = @path_icns_file
@@ -36,6 +36,15 @@ module Comet
36
36
  # @type [Boolean] hide_background_logo
37
37
  attr_accessor :hide_background_logo
38
38
 
39
+ # @type [String] cloud_storage_name
40
+ attr_accessor :cloud_storage_name
41
+
42
+ # @type [Boolean] admin_hide_pre_built_client_option
43
+ attr_accessor :admin_hide_pre_built_client_option
44
+
45
+ # @type [Boolean] admin_hide_branded_cloud_storage
46
+ attr_accessor :admin_hide_branded_cloud_storage
47
+
39
48
  # One of the CLIENTBRANDINGBUILD_ constants
40
49
  # @type [Number] build_mode
41
50
  attr_accessor :build_mode
@@ -134,6 +143,7 @@ module Comet
134
143
  @default_login_server_url = ''
135
144
  @tile_background_color = ''
136
145
  @account_register_url = ''
146
+ @cloud_storage_name = ''
137
147
  @build_mode = 0
138
148
  @path_ico_file = ''
139
149
  @path_icns_file = ''
@@ -204,6 +214,14 @@ module Comet
204
214
  @account_register_url = v
205
215
  when 'HideBackgroundLogo'
206
216
  @hide_background_logo = v
217
+ when 'CloudStorageName'
218
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
219
+
220
+ @cloud_storage_name = v
221
+ when 'AdminHidePreBuiltClientOption'
222
+ @admin_hide_pre_built_client_option = v
223
+ when 'AdminHideBrandedCloudStorage'
224
+ @admin_hide_branded_cloud_storage = v
207
225
  when 'BuildMode'
208
226
  raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
209
227
 
@@ -324,6 +342,9 @@ module Comet
324
342
  ret['TileBackgroundColor'] = @tile_background_color
325
343
  ret['AccountRegisterURL'] = @account_register_url
326
344
  ret['HideBackgroundLogo'] = @hide_background_logo
345
+ ret['CloudStorageName'] = @cloud_storage_name
346
+ ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
347
+ ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
327
348
  ret['BuildMode'] = @build_mode
328
349
  ret['PathIcoFile'] = @path_ico_file
329
350
  ret['PathIcnsFile'] = @path_icns_file
@@ -36,6 +36,15 @@ module Comet
36
36
  # @type [Boolean] hide_background_logo
37
37
  attr_accessor :hide_background_logo
38
38
 
39
+ # @type [String] cloud_storage_name
40
+ attr_accessor :cloud_storage_name
41
+
42
+ # @type [Boolean] admin_hide_pre_built_client_option
43
+ attr_accessor :admin_hide_pre_built_client_option
44
+
45
+ # @type [Boolean] admin_hide_branded_cloud_storage
46
+ attr_accessor :admin_hide_branded_cloud_storage
47
+
39
48
  # @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
40
49
  attr_accessor :unknown_json_fields
41
50
 
@@ -50,6 +59,7 @@ module Comet
50
59
  @default_login_server_url = ''
51
60
  @tile_background_color = ''
52
61
  @account_register_url = ''
62
+ @cloud_storage_name = ''
53
63
  @unknown_json_fields = {}
54
64
  end
55
65
 
@@ -94,6 +104,14 @@ module Comet
94
104
  @account_register_url = v
95
105
  when 'HideBackgroundLogo'
96
106
  @hide_background_logo = v
107
+ when 'CloudStorageName'
108
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
109
+
110
+ @cloud_storage_name = v
111
+ when 'AdminHidePreBuiltClientOption'
112
+ @admin_hide_pre_built_client_option = v
113
+ when 'AdminHideBrandedCloudStorage'
114
+ @admin_hide_branded_cloud_storage = v
97
115
  else
98
116
  @unknown_json_fields[k] = v
99
117
  end
@@ -111,6 +129,9 @@ module Comet
111
129
  ret['TileBackgroundColor'] = @tile_background_color
112
130
  ret['AccountRegisterURL'] = @account_register_url
113
131
  ret['HideBackgroundLogo'] = @hide_background_logo
132
+ ret['CloudStorageName'] = @cloud_storage_name
133
+ ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
134
+ ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
114
135
  @unknown_json_fields.each do |k, v|
115
136
  ret[k] = v
116
137
  end
@@ -58,6 +58,19 @@ module Comet
58
58
  # @type [Boolean] server_is_empty
59
59
  attr_accessor :server_is_empty
60
60
 
61
+ # @type [String] cloud_storage_name
62
+ attr_accessor :cloud_storage_name
63
+
64
+ # Will hide the "Pre-built software client" option from the server settings. Only properly enforced
65
+ # when custom branding is enforced via the license.
66
+ # @type [Boolean] admin_hide_pre_built_client_option
67
+ attr_accessor :admin_hide_pre_built_client_option
68
+
69
+ # Will hide Comet Storage from everywhere, including the admin view. Only properly enforced when
70
+ # custom branding is enforced via the license.
71
+ # @type [Boolean] admin_hide_branded_cloud_storage
72
+ attr_accessor :admin_hide_branded_cloud_storage
73
+
61
74
  # @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
62
75
  attr_accessor :unknown_json_fields
63
76
 
@@ -74,6 +87,7 @@ module Comet
74
87
  @prune_logs_after_days = 0
75
88
  @expired_in_seconds = 0
76
89
  @external_authentication_sources = []
90
+ @cloud_storage_name = ''
77
91
  @unknown_json_fields = {}
78
92
  end
79
93
 
@@ -138,6 +152,14 @@ module Comet
138
152
  end
139
153
  when 'ServerIsEmpty'
140
154
  @server_is_empty = v
155
+ when 'CloudStorageName'
156
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
157
+
158
+ @cloud_storage_name = v
159
+ when 'AdminHidePreBuiltClientOption'
160
+ @admin_hide_pre_built_client_option = v
161
+ when 'AdminHideBrandedCloudStorage'
162
+ @admin_hide_branded_cloud_storage = v
141
163
  else
142
164
  @unknown_json_fields[k] = v
143
165
  end
@@ -162,6 +184,9 @@ module Comet
162
184
  ret['ExternalAuthenticationSources'] = @external_authentication_sources
163
185
  end
164
186
  ret['ServerIsEmpty'] = @server_is_empty
187
+ ret['CloudStorageName'] = @cloud_storage_name
188
+ ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
189
+ ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
165
190
  @unknown_json_fields.each do |k, v|
166
191
  ret[k] = v
167
192
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comet_backup_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.38.0
4
+ version: 2.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Comet Licensing Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler