comet_backup_ruby_sdk 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +0 -0
- data/RELEASING.md +0 -0
- data/Rakefile +0 -0
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/api_response_error.rb +0 -0
- data/lib/comet/comet_server.rb +52 -11
- data/lib/comet/definitions.rb +11 -3
- data/lib/comet/models/add_bucket_response_message.rb +0 -0
- data/lib/comet/models/admin_account_properties_response.rb +0 -0
- data/lib/comet/models/admin_email_options.rb +0 -0
- data/lib/comet/models/admin_resource_response.rb +0 -0
- data/lib/comet/models/admin_security_options.rb +0 -0
- data/lib/comet/models/admin_u2fregistration.rb +0 -0
- data/lib/comet/models/admin_user_permissions.rb +16 -0
- data/lib/comet/models/admin_web_authn_registration.rb +0 -0
- data/lib/comet/models/allowed_admin_user.rb +0 -0
- data/lib/comet/models/amazon_awsvirtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/authentication_role_options.rb +0 -0
- data/lib/comet/models/available_download.rb +0 -0
- data/lib/comet/models/azure_destination_location.rb +0 -0
- data/lib/comet/models/b2destination_location.rb +0 -0
- data/lib/comet/models/b2storage_extra_info.rb +0 -0
- data/lib/comet/models/b2transaction_totals.rb +0 -0
- data/lib/comet/models/b2virtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/backup_job_advanced_options.rb +0 -0
- data/lib/comet/models/backup_job_detail.rb +0 -0
- data/lib/comet/models/backup_job_progress.rb +0 -0
- data/lib/comet/models/backup_rule_config.rb +0 -0
- data/lib/comet/models/backup_rule_event_triggers.rb +0 -0
- data/lib/comet/models/branding_options.rb +0 -0
- data/lib/comet/models/branding_properties.rb +0 -0
- data/lib/comet/models/browse_disk_drives_response.rb +0 -0
- data/lib/comet/models/browse_edbresponse.rb +0 -0
- data/lib/comet/models/browse_hvresponse.rb +0 -0
- data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +0 -0
- data/lib/comet/models/browse_office_365objects_response.rb +0 -0
- data/lib/comet/models/browse_sqlserver_response.rb +0 -0
- data/lib/comet/models/browse_vssresponse.rb +0 -0
- data/lib/comet/models/bucket_properties.rb +0 -0
- data/lib/comet/models/bucket_usage_info.rb +0 -0
- data/lib/comet/models/comet_apiresponse_message.rb +0 -0
- data/lib/comet/models/comet_destination_location.rb +0 -0
- data/lib/comet/models/constellation_check_report.rb +0 -0
- data/lib/comet/models/constellation_role_options.rb +0 -0
- data/lib/comet/models/constellation_stats.rb +0 -0
- data/lib/comet/models/constellation_status_apiresponse.rb +0 -0
- data/lib/comet/models/content_measurement.rb +0 -0
- data/lib/comet/models/content_measurement_component.rb +0 -0
- data/lib/comet/models/create_group_policy_response.rb +0 -0
- data/lib/comet/models/custom_remote_bucket_settings.rb +0 -0
- data/lib/comet/models/days_of_week_config.rb +0 -0
- data/lib/comet/models/default_email_report_policy.rb +0 -0
- data/lib/comet/models/default_source_with_osrestriction.rb +0 -0
- data/lib/comet/models/destination_config.rb +8 -0
- data/lib/comet/models/destination_location.rb +8 -0
- data/lib/comet/models/destination_statistics.rb +0 -0
- data/lib/comet/models/device_config.rb +0 -0
- data/lib/comet/models/disk_drive.rb +0 -0
- data/lib/comet/models/dispatcher_admin_sources_response.rb +0 -0
- data/lib/comet/models/dispatcher_stored_objects_response.rb +0 -0
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +0 -0
- data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +0 -0
- data/lib/comet/models/edbfile_info.rb +0 -0
- data/lib/comet/models/email_options.rb +0 -0
- data/lib/comet/models/email_report_config.rb +0 -0
- data/lib/comet/models/email_report_generated_preview.rb +0 -0
- data/lib/comet/models/external_authentication_source.rb +10 -0
- data/lib/comet/models/external_ldapauthentication_source_server.rb +0 -0
- data/lib/comet/models/external_ldapauthentication_source_settings.rb +0 -0
- data/lib/comet/models/extra_file_exclusion.rb +0 -0
- data/lib/comet/models/ftpdestination_location.rb +0 -0
- data/lib/comet/models/get_group_policy_response.rb +0 -0
- data/lib/comet/models/get_profile_and_hash_response_message.rb +0 -0
- data/lib/comet/models/get_profile_hash_response_message.rb +0 -0
- data/lib/comet/models/global_override_options.rb +0 -0
- data/lib/comet/models/group_policy.rb +0 -0
- data/lib/comet/models/hour_sched_config.rb +0 -0
- data/lib/comet/models/httpconnector_options.rb +0 -0
- data/lib/comet/models/hyper_vmachine_info.rb +0 -0
- data/lib/comet/models/install_creds.rb +0 -0
- data/lib/comet/models/install_token.rb +0 -0
- data/lib/comet/models/install_token_response.rb +0 -0
- data/lib/comet/models/job_entry.rb +0 -0
- data/lib/comet/models/license_options.rb +0 -0
- data/lib/comet/models/live_user_connection.rb +0 -0
- data/lib/comet/models/local_destination_location.rb +0 -0
- data/lib/comet/models/local_storage_directory.rb +0 -0
- data/lib/comet/models/mac_oscode_sign_properties.rb +0 -0
- data/lib/comet/models/mongo_dbconnection.rb +0 -0
- data/lib/comet/models/mssqlconnection.rb +0 -0
- data/lib/comet/models/my_sqlconnection.rb +0 -0
- data/lib/comet/models/new_bucket_detail.rb +0 -0
- data/lib/comet/models/news_entry.rb +0 -0
- data/lib/comet/models/office_365connection.rb +0 -0
- data/lib/comet/models/office_365credential.rb +0 -0
- data/lib/comet/models/office_365custom_setting.rb +0 -0
- data/lib/comet/models/office_365custom_setting_v2.rb +0 -0
- data/lib/comet/models/office_365mixed_virtual_account.rb +0 -0
- data/lib/comet/models/office_365object_info.rb +0 -0
- data/lib/comet/models/organization.rb +8 -0
- data/lib/comet/models/organization_response.rb +0 -0
- data/lib/comet/models/osinfo.rb +0 -0
- data/lib/comet/models/partition.rb +0 -0
- data/lib/comet/models/private_branding_properties.rb +0 -0
- data/lib/comet/models/protected_item_engine_type_policy.rb +0 -0
- data/lib/comet/models/public_branding_properties.rb +0 -0
- data/lib/comet/models/ratelimit_options.rb +0 -0
- data/lib/comet/models/ratelimit_rule.rb +0 -0
- data/lib/comet/models/register_office_application_begin_response.rb +0 -0
- data/lib/comet/models/register_office_application_check_response.rb +0 -0
- data/lib/comet/models/remote_server_address.rb +10 -0
- data/lib/comet/models/remote_storage_option.rb +10 -0
- data/lib/comet/models/replica_server.rb +10 -0
- data/lib/comet/models/replicator_state_apiresponse.rb +0 -0
- data/lib/comet/models/request_storage_vault_response_message.rb +0 -0
- data/lib/comet/models/restore_job_advanced_options.rb +75 -0
- data/lib/comet/models/retention_policy.rb +0 -0
- data/lib/comet/models/retention_range.rb +0 -0
- data/lib/comet/models/s3destination_location.rb +0 -0
- data/lib/comet/models/s3generic_virtual_storage_role.rb +0 -0
- data/lib/comet/models/schedule_config.rb +0 -0
- data/lib/comet/models/search_clause.rb +0 -0
- data/lib/comet/models/self_backup_options.rb +0 -0
- data/lib/comet/models/self_backup_statistics.rb +0 -0
- data/lib/comet/models/self_backup_target.rb +0 -0
- data/lib/comet/models/server_config_options.rb +0 -0
- data/lib/comet/models/server_config_options_branding_fragment.rb +0 -0
- data/lib/comet/models/server_config_options_software_build_role_fragment.rb +0 -0
- data/lib/comet/models/server_meta_branding_properties.rb +0 -0
- data/lib/comet/models/server_meta_version_info.rb +15 -0
- data/lib/comet/models/session_key_regenerated_response.rb +0 -0
- data/lib/comet/models/session_options.rb +0 -0
- data/lib/comet/models/sftpdestination_location.rb +0 -0
- data/lib/comet/models/size_measurement.rb +0 -0
- data/lib/comet/models/software_build_role_options.rb +0 -0
- data/lib/comet/models/software_update_news_response.rb +0 -0
- data/lib/comet/models/source_basic_info.rb +0 -0
- data/lib/comet/models/source_config.rb +0 -0
- data/lib/comet/models/source_include_pattern.rb +0 -0
- data/lib/comet/models/source_statistics.rb +0 -0
- data/lib/comet/models/spanned_destination_location.rb +0 -0
- data/lib/comet/models/spanned_storage_extra_info.rb +0 -0
- data/lib/comet/models/sshconnection.rb +0 -0
- data/lib/comet/models/stat_result.rb +0 -0
- data/lib/comet/models/storage_free_space_info.rb +0 -0
- data/lib/comet/models/storage_role_options.rb +0 -0
- data/lib/comet/models/storage_vault_provider_policy.rb +0 -0
- data/lib/comet/models/stored_object.rb +0 -0
- data/lib/comet/models/streamable_event.rb +0 -0
- data/lib/comet/models/swift_destination_location.rb +0 -0
- data/lib/comet/models/test_response.rb +0 -0
- data/lib/comet/models/totp_regenerated_response.rb +0 -0
- data/lib/comet/models/u2fregister_request.rb +0 -0
- data/lib/comet/models/u2fregistered_key.rb +0 -0
- data/lib/comet/models/u2fregistration_challenge_response.rb +0 -0
- data/lib/comet/models/u2fsign_request.rb +0 -0
- data/lib/comet/models/u2fsign_response.rb +0 -0
- data/lib/comet/models/uninstall_config.rb +0 -0
- data/lib/comet/models/update_campaign_device_status.rb +0 -0
- data/lib/comet/models/update_campaign_options.rb +2 -1
- data/lib/comet/models/update_campaign_properties.rb +0 -0
- data/lib/comet/models/update_campaign_status.rb +0 -0
- data/lib/comet/models/update_campaign_status_device_entry.rb +0 -0
- data/lib/comet/models/user_custom_email_settings.rb +0 -0
- data/lib/comet/models/user_on_server.rb +0 -0
- data/lib/comet/models/user_policy.rb +0 -0
- data/lib/comet/models/user_profile_config.rb +4 -4
- data/lib/comet/models/user_profile_fragment.rb +0 -0
- data/lib/comet/models/user_server_config.rb +0 -0
- data/lib/comet/models/vault_snapshot.rb +0 -0
- data/lib/comet/models/vmdksnapshot_view_options.rb +0 -0
- data/lib/comet/models/vsscomponent.rb +0 -0
- data/lib/comet/models/vsswriter_info.rb +0 -0
- data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/web_authn_authenticator_selection.rb +0 -0
- data/lib/comet/models/web_authn_credential.rb +0 -0
- data/lib/comet/models/web_authn_credential_assertion.rb +0 -0
- data/lib/comet/models/web_authn_credential_descriptor.rb +0 -0
- data/lib/comet/models/web_authn_credential_entity.rb +0 -0
- data/lib/comet/models/web_authn_credential_parameter.rb +0 -0
- data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +0 -0
- data/lib/comet/models/web_authn_public_key_credential_request_options.rb +0 -0
- data/lib/comet/models/web_authn_registration_challenge_response.rb +0 -0
- data/lib/comet/models/web_authn_relying_party_entity.rb +0 -0
- data/lib/comet/models/web_authn_sign_request.rb +0 -0
- data/lib/comet/models/web_authn_sign_response.rb +0 -0
- data/lib/comet/models/web_authn_user_entity.rb +0 -0
- data/lib/comet/models/web_interface_branding_properties.rb +0 -0
- data/lib/comet/models/webhook_option.rb +0 -0
- data/lib/comet/models/win_smbauth.rb +0 -0
- data/lib/comet/models/windows_code_sign_properties.rb +0 -0
- data/lib/comet_backup_ruby_sdk.rb +2 -0
- metadata +2 -2
File without changes
|
data/lib/comet/models/osinfo.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -46,6 +46,9 @@ module Comet
|
|
46
46
|
# @type [Comet::AmazonAWSVirtualStorageRoleSettings] aws
|
47
47
|
attr_accessor :aws
|
48
48
|
|
49
|
+
# @type [Comet::StorjVirtualStorageRoleSetting] storj
|
50
|
+
attr_accessor :storj
|
51
|
+
|
49
52
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
50
53
|
attr_accessor :unknown_json_fields
|
51
54
|
|
@@ -65,6 +68,7 @@ module Comet
|
|
65
68
|
@custom = Comet::CustomRemoteBucketSettings.new
|
66
69
|
@s3 = Comet::S3GenericVirtualStorageRole.new
|
67
70
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
71
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
68
72
|
@unknown_json_fields = {}
|
69
73
|
end
|
70
74
|
|
@@ -119,6 +123,9 @@ module Comet
|
|
119
123
|
when 'AWS'
|
120
124
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
121
125
|
@aws.from_hash(v)
|
126
|
+
when 'Storj'
|
127
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
128
|
+
@storj.from_hash(v)
|
122
129
|
else
|
123
130
|
@unknown_json_fields[k] = v
|
124
131
|
end
|
@@ -157,6 +164,9 @@ module Comet
|
|
157
164
|
unless @aws.nil?
|
158
165
|
ret['AWS'] = @aws
|
159
166
|
end
|
167
|
+
unless @storj.nil?
|
168
|
+
ret['Storj'] = @storj
|
169
|
+
end
|
160
170
|
@unknown_json_fields.each do |k, v|
|
161
171
|
ret[k] = v
|
162
172
|
end
|
@@ -46,6 +46,9 @@ module Comet
|
|
46
46
|
# @type [Comet::AmazonAWSVirtualStorageRoleSettings] aws
|
47
47
|
attr_accessor :aws
|
48
48
|
|
49
|
+
# @type [Comet::StorjVirtualStorageRoleSetting] storj
|
50
|
+
attr_accessor :storj
|
51
|
+
|
49
52
|
# @type [Boolean] storage_limit_enabled
|
50
53
|
attr_accessor :storage_limit_enabled
|
51
54
|
|
@@ -74,6 +77,7 @@ module Comet
|
|
74
77
|
@custom = Comet::CustomRemoteBucketSettings.new
|
75
78
|
@s3 = Comet::S3GenericVirtualStorageRole.new
|
76
79
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
80
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
77
81
|
@storage_limit_bytes = 0
|
78
82
|
@unknown_json_fields = {}
|
79
83
|
end
|
@@ -129,6 +133,9 @@ module Comet
|
|
129
133
|
when 'AWS'
|
130
134
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
131
135
|
@aws.from_hash(v)
|
136
|
+
when 'Storj'
|
137
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
138
|
+
@storj.from_hash(v)
|
132
139
|
when 'StorageLimitEnabled'
|
133
140
|
@storage_limit_enabled = v
|
134
141
|
when 'StorageLimitBytes'
|
@@ -175,6 +182,9 @@ module Comet
|
|
175
182
|
unless @aws.nil?
|
176
183
|
ret['AWS'] = @aws
|
177
184
|
end
|
185
|
+
unless @storj.nil?
|
186
|
+
ret['Storj'] = @storj
|
187
|
+
end
|
178
188
|
ret['StorageLimitEnabled'] = @storage_limit_enabled
|
179
189
|
ret['StorageLimitBytes'] = @storage_limit_bytes
|
180
190
|
ret['RebrandStorage'] = @rebrand_storage
|
@@ -46,6 +46,9 @@ module Comet
|
|
46
46
|
# @type [Comet::AmazonAWSVirtualStorageRoleSettings] aws
|
47
47
|
attr_accessor :aws
|
48
48
|
|
49
|
+
# @type [Comet::StorjVirtualStorageRoleSetting] storj
|
50
|
+
attr_accessor :storj
|
51
|
+
|
49
52
|
# @type [String] replica_deletion_strategy
|
50
53
|
attr_accessor :replica_deletion_strategy
|
51
54
|
|
@@ -68,6 +71,7 @@ module Comet
|
|
68
71
|
@custom = Comet::CustomRemoteBucketSettings.new
|
69
72
|
@s3 = Comet::S3GenericVirtualStorageRole.new
|
70
73
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
74
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
71
75
|
@replica_deletion_strategy = ''
|
72
76
|
@unknown_json_fields = {}
|
73
77
|
end
|
@@ -123,6 +127,9 @@ module Comet
|
|
123
127
|
when 'AWS'
|
124
128
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
125
129
|
@aws.from_hash(v)
|
130
|
+
when 'Storj'
|
131
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
132
|
+
@storj.from_hash(v)
|
126
133
|
when 'ReplicaDeletionStrategy'
|
127
134
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
128
135
|
|
@@ -165,6 +172,9 @@ module Comet
|
|
165
172
|
unless @aws.nil?
|
166
173
|
ret['AWS'] = @aws
|
167
174
|
end
|
175
|
+
unless @storj.nil?
|
176
|
+
ret['Storj'] = @storj
|
177
|
+
end
|
168
178
|
unless @replica_deletion_strategy.nil?
|
169
179
|
ret['ReplicaDeletionStrategy'] = @replica_deletion_strategy
|
170
180
|
end
|
File without changes
|
File without changes
|
@@ -36,6 +36,33 @@ module Comet
|
|
36
36
|
# @type [Comet::Office365Credential] office_365credential
|
37
37
|
attr_accessor :office_365credential
|
38
38
|
|
39
|
+
# @type [String] username
|
40
|
+
attr_accessor :username
|
41
|
+
|
42
|
+
# @type [String] password
|
43
|
+
attr_accessor :password
|
44
|
+
|
45
|
+
# @type [String] host
|
46
|
+
attr_accessor :host
|
47
|
+
|
48
|
+
# @type [String] port
|
49
|
+
attr_accessor :port
|
50
|
+
|
51
|
+
# @type [Boolean] use_ssl
|
52
|
+
attr_accessor :use_ssl
|
53
|
+
|
54
|
+
# @type [Boolean] ssl_allow_invalid
|
55
|
+
attr_accessor :ssl_allow_invalid
|
56
|
+
|
57
|
+
# @type [String] ssl_ca_file
|
58
|
+
attr_accessor :ssl_ca_file
|
59
|
+
|
60
|
+
# @type [String] ssl_crt_file
|
61
|
+
attr_accessor :ssl_crt_file
|
62
|
+
|
63
|
+
# @type [String] ssl_key_file
|
64
|
+
attr_accessor :ssl_key_file
|
65
|
+
|
39
66
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
40
67
|
attr_accessor :unknown_json_fields
|
41
68
|
|
@@ -49,6 +76,13 @@ module Comet
|
|
49
76
|
@exact_dest_paths = []
|
50
77
|
@archive_format = 0
|
51
78
|
@office_365credential = Comet::Office365Credential.new
|
79
|
+
@username = ''
|
80
|
+
@password = ''
|
81
|
+
@host = ''
|
82
|
+
@port = ''
|
83
|
+
@ssl_ca_file = ''
|
84
|
+
@ssl_crt_file = ''
|
85
|
+
@ssl_key_file = ''
|
52
86
|
@unknown_json_fields = {}
|
53
87
|
end
|
54
88
|
|
@@ -97,6 +131,38 @@ module Comet
|
|
97
131
|
when 'Office365Credential'
|
98
132
|
@office_365credential = Comet::Office365Credential.new
|
99
133
|
@office_365credential.from_hash(v)
|
134
|
+
when 'Username'
|
135
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
136
|
+
|
137
|
+
@username = v
|
138
|
+
when 'Password'
|
139
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
140
|
+
|
141
|
+
@password = v
|
142
|
+
when 'Host'
|
143
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
144
|
+
|
145
|
+
@host = v
|
146
|
+
when 'Port'
|
147
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
148
|
+
|
149
|
+
@port = v
|
150
|
+
when 'UseSsl'
|
151
|
+
@use_ssl = v
|
152
|
+
when 'SslAllowInvalid'
|
153
|
+
@ssl_allow_invalid = v
|
154
|
+
when 'SslCaFile'
|
155
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
156
|
+
|
157
|
+
@ssl_ca_file = v
|
158
|
+
when 'SslCrtFile'
|
159
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
160
|
+
|
161
|
+
@ssl_crt_file = v
|
162
|
+
when 'SslKeyFile'
|
163
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
164
|
+
|
165
|
+
@ssl_key_file = v
|
100
166
|
else
|
101
167
|
@unknown_json_fields[k] = v
|
102
168
|
end
|
@@ -116,6 +182,15 @@ module Comet
|
|
116
182
|
unless @office_365credential.nil?
|
117
183
|
ret['Office365Credential'] = @office_365credential
|
118
184
|
end
|
185
|
+
ret['Username'] = @username
|
186
|
+
ret['Password'] = @password
|
187
|
+
ret['Host'] = @host
|
188
|
+
ret['Port'] = @port
|
189
|
+
ret['UseSsl'] = @use_ssl
|
190
|
+
ret['SslAllowInvalid'] = @ssl_allow_invalid
|
191
|
+
ret['SslCaFile'] = @ssl_ca_file
|
192
|
+
ret['SslCrtFile'] = @ssl_crt_file
|
193
|
+
ret['SslKeyFile'] = @ssl_key_file
|
119
194
|
@unknown_json_fields.each do |k, v|
|
120
195
|
ret[k] = v
|
121
196
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -48,6 +48,12 @@ module Comet
|
|
48
48
|
# @type [String] server_license_hash
|
49
49
|
attr_accessor :server_license_hash
|
50
50
|
|
51
|
+
# @type [Boolean] server_license_features_all
|
52
|
+
attr_accessor :server_license_features_all
|
53
|
+
|
54
|
+
# @type [Number] server_license_feature_set
|
55
|
+
attr_accessor :server_license_feature_set
|
56
|
+
|
51
57
|
# @type [Number] license_valid_until
|
52
58
|
attr_accessor :license_valid_until
|
53
59
|
|
@@ -93,6 +99,7 @@ module Comet
|
|
93
99
|
@server_start_hash = ''
|
94
100
|
@current_time = 0
|
95
101
|
@server_license_hash = ''
|
102
|
+
@server_license_feature_set = 0
|
96
103
|
@license_valid_until = 0
|
97
104
|
@emails_sent_successfully = 0
|
98
105
|
@emails_sent_errors = 0
|
@@ -163,6 +170,12 @@ module Comet
|
|
163
170
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
164
171
|
|
165
172
|
@server_license_hash = v
|
173
|
+
when 'ServerLicenseFeaturesAll'
|
174
|
+
@server_license_features_all = v
|
175
|
+
when 'ServerLicenseFeatureSet'
|
176
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
177
|
+
|
178
|
+
@server_license_feature_set = v
|
166
179
|
when 'LicenseValidUntil'
|
167
180
|
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
168
181
|
|
@@ -230,6 +243,8 @@ module Comet
|
|
230
243
|
ret['ServerStartHash'] = @server_start_hash
|
231
244
|
ret['CurrentTime'] = @current_time
|
232
245
|
ret['ServerLicenseHash'] = @server_license_hash
|
246
|
+
ret['ServerLicenseFeaturesAll'] = @server_license_features_all
|
247
|
+
ret['ServerLicenseFeatureSet'] = @server_license_feature_set
|
233
248
|
ret['LicenseValidUntil'] = @license_valid_until
|
234
249
|
ret['EmailsSentSuccessfully'] = @emails_sent_successfully
|
235
250
|
ret['EmailsSentErrors'] = @emails_sent_errors
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -12,7 +12,8 @@ module Comet
|
|
12
12
|
# UpdateCampaignOptions is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
# This data structure describes which devices should receive a remote software upgrade. Both the
|
14
14
|
# target version criteria (UpgradeOlder/ReinstallCurrentVer/DowngradeNewer) and the target device
|
15
|
-
# criteria (ApplyDeviceFilter/DeviceFilter) must be met in order for the remote upgrade to be
|
15
|
+
# criteria (ApplyDeviceFilter/DeviceFilter) must be met in order for the remote upgrade to be
|
16
|
+
# applied.
|
16
17
|
class UpdateCampaignOptions
|
17
18
|
|
18
19
|
# @type [Boolean] active
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -65,16 +65,16 @@ module Comet
|
|
65
65
|
attr_accessor :maximum_devices
|
66
66
|
|
67
67
|
# If the PolicyID field is set to a non-empty string, the Comet Server will enforce the contents of
|
68
|
-
# the Policy field based on the matching server's policy. Otherwise if the PolicyID field is set to
|
69
|
-
# empty string, the administrator may configure any custom values in the Policy field.
|
68
|
+
# the Policy field based on the matching server's policy. Otherwise if the PolicyID field is set to
|
69
|
+
# an empty string, the administrator may configure any custom values in the Policy field.
|
70
70
|
# @type [String] policy_id
|
71
71
|
attr_accessor :policy_id
|
72
72
|
|
73
73
|
# @type [Comet::UserPolicy] policy
|
74
74
|
attr_accessor :policy
|
75
75
|
|
76
|
-
# To change the user's password, use the AdminResetUserPassword API instead of accessing these
|
77
|
-
# directly. Otherwise, other encrypted fields in the user profile may become corrupted.
|
76
|
+
# To change the user's password, use the AdminResetUserPassword API instead of accessing these
|
77
|
+
# fields directly. Otherwise, other encrypted fields in the user profile may become corrupted.
|
78
78
|
# @type [Number] password_format
|
79
79
|
attr_accessor :password_format
|
80
80
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -149,6 +149,8 @@ require_relative 'comet/models/storage_free_space_info'
|
|
149
149
|
require_relative 'comet/models/storage_role_options'
|
150
150
|
require_relative 'comet/models/storage_vault_provider_policy'
|
151
151
|
require_relative 'comet/models/stored_object'
|
152
|
+
require_relative 'comet/models/storj_destination_location'
|
153
|
+
require_relative 'comet/models/storj_virtual_storage_role_setting'
|
152
154
|
require_relative 'comet/models/streamable_event'
|
153
155
|
require_relative 'comet/models/swift_destination_location'
|
154
156
|
require_relative 'comet/models/test_response'
|
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.
|
4
|
+
version: 2.2.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: 2022-
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|