comet_backup_ruby_sdk 2.9.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/comet_server.rb +19 -1
- data/lib/comet/definitions.rb +33 -7
- data/lib/comet/models/admin_account_properties_response.rb +1 -0
- data/lib/comet/models/admin_security_options.rb +4 -0
- data/lib/comet/models/admin_u2fregistration.rb +2 -0
- data/lib/comet/models/admin_user_permissions.rb +73 -0
- data/lib/comet/models/admin_web_authn_registration.rb +2 -0
- data/lib/comet/models/allowed_admin_user.rb +4 -0
- data/lib/comet/models/authentication_role_options.rb +2 -0
- data/lib/comet/models/branding_options.rb +5 -0
- data/lib/comet/models/branding_properties.rb +5 -0
- data/lib/comet/models/bucket_properties.rb +2 -0
- data/lib/comet/models/constellation_stats.rb +5 -0
- data/lib/comet/models/device_config.rb +12 -0
- data/lib/comet/models/email_reporting_option.rb +2 -0
- data/lib/comet/models/external_ldapauthentication_source_server.rb +1 -0
- data/lib/comet/models/external_ldapauthentication_source_settings.rb +1 -0
- data/lib/comet/models/install_token.rb +5 -0
- data/lib/comet/models/mac_oscode_sign_properties.rb +6 -0
- data/lib/comet/models/mssqlconnection.rb +3 -0
- data/lib/comet/models/news_entry.rb +1 -0
- data/lib/comet/models/osinfo.rb +30 -0
- data/lib/comet/models/partition.rb +5 -0
- data/lib/comet/models/private_branding_properties.rb +5 -0
- data/lib/comet/models/psaconfig.rb +4 -0
- data/lib/comet/models/restore_job_advanced_options.rb +16 -0
- data/lib/comet/models/retention_range.rb +8 -0
- data/lib/comet/models/search_clause.rb +16 -0
- data/lib/comet/models/self_backup_export_options.rb +1 -0
- data/lib/comet/models/self_backup_target.rb +1 -0
- data/lib/comet/models/server_config_options.rb +1 -0
- data/lib/comet/models/server_meta_branding_properties.rb +2 -0
- data/lib/comet/models/server_meta_version_info.rb +2 -0
- data/lib/comet/models/session_key_regenerated_response.rb +2 -0
- data/lib/comet/models/single_field_source.rb +1 -0
- data/lib/comet/models/software_update_news_response.rb +4 -0
- data/lib/comet/models/source_basic_info.rb +2 -0
- data/lib/comet/models/source_config.rb +20 -0
- data/lib/comet/models/storage_role_options.rb +1 -0
- data/lib/comet/models/totp_regenerated_response.rb +3 -0
- data/lib/comet/models/update_campaign_device_status.rb +1 -0
- data/lib/comet/models/update_campaign_properties.rb +1 -0
- data/lib/comet/models/update_campaign_status.rb +1 -0
- data/lib/comet/models/update_campaign_status_device_entry.rb +1 -0
- data/lib/comet/models/vault_snapshot.rb +1 -0
- data/lib/comet/models/vsscomponent.rb +1 -0
- data/lib/comet/models/web_authn_credential.rb +2 -0
- data/lib/comet/models/web_authn_credential_descriptor.rb +1 -0
- data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +1 -0
- data/lib/comet/models/web_authn_public_key_credential_request_options.rb +1 -0
- data/lib/comet/models/web_authn_user_entity.rb +1 -0
- data/lib/comet/models/windows_code_sign_properties.rb +4 -0
- metadata +2 -2
data/lib/comet/models/osinfo.rb
CHANGED
@@ -10,17 +10,31 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# OSInfo is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# OSInfo represents the common set of version information between all operating systems
|
13
14
|
class OSInfo
|
14
15
|
|
16
|
+
# The primary version number (e.g. on Windows: 1703 / 2009, on Linux: 20.04 / 22.04)
|
15
17
|
# @type [String] version
|
16
18
|
attr_accessor :version
|
17
19
|
|
20
|
+
# The primary presentation name (e.g. "Windows 10 Pro", "debian", "Synology DSM")
|
18
21
|
# @type [String] distribution
|
19
22
|
attr_accessor :distribution
|
20
23
|
|
24
|
+
# The detailed build number (e.g. 19043)
|
21
25
|
# @type [String] build
|
22
26
|
attr_accessor :build
|
23
27
|
|
28
|
+
# The GOOS value
|
29
|
+
# This field is available in Comet 23.6.0 and later.
|
30
|
+
# @type [String] os
|
31
|
+
attr_accessor :os
|
32
|
+
|
33
|
+
# The GOARCH value
|
34
|
+
# This field is available in Comet 23.6.0 and later.
|
35
|
+
# @type [String] arch
|
36
|
+
attr_accessor :arch
|
37
|
+
|
24
38
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
25
39
|
attr_accessor :unknown_json_fields
|
26
40
|
|
@@ -32,6 +46,8 @@ module Comet
|
|
32
46
|
@version = ''
|
33
47
|
@distribution = ''
|
34
48
|
@build = ''
|
49
|
+
@os = ''
|
50
|
+
@arch = ''
|
35
51
|
@unknown_json_fields = {}
|
36
52
|
end
|
37
53
|
|
@@ -60,6 +76,14 @@ module Comet
|
|
60
76
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
61
77
|
|
62
78
|
@build = v
|
79
|
+
when 'os'
|
80
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
81
|
+
|
82
|
+
@os = v
|
83
|
+
when 'arch'
|
84
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
85
|
+
|
86
|
+
@arch = v
|
63
87
|
else
|
64
88
|
@unknown_json_fields[k] = v
|
65
89
|
end
|
@@ -78,6 +102,12 @@ module Comet
|
|
78
102
|
unless @build.nil?
|
79
103
|
ret['build'] = @build
|
80
104
|
end
|
105
|
+
unless @os.nil?
|
106
|
+
ret['os'] = @os
|
107
|
+
end
|
108
|
+
unless @arch.nil?
|
109
|
+
ret['arch'] = @arch
|
110
|
+
end
|
81
111
|
@unknown_json_fields.each do |k, v|
|
82
112
|
ret[k] = v
|
83
113
|
end
|
@@ -15,6 +15,7 @@ module Comet
|
|
15
15
|
# @type [String] device_name
|
16
16
|
attr_accessor :device_name
|
17
17
|
|
18
|
+
# The name of the filesystem used on this partition (e.g. "NTFS")
|
18
19
|
# @type [String] filesystem
|
19
20
|
attr_accessor :filesystem
|
20
21
|
|
@@ -30,12 +31,16 @@ module Comet
|
|
30
31
|
# @type [Array<String>] mount_points
|
31
32
|
attr_accessor :mount_points
|
32
33
|
|
34
|
+
# Bytes. The partition's offset within the DeviceName. It will be zero if this partition has a
|
35
|
+
# direct DeviceName handle.
|
33
36
|
# @type [Number] read_offset
|
34
37
|
attr_accessor :read_offset
|
35
38
|
|
39
|
+
# Bytes
|
36
40
|
# @type [Number] size
|
37
41
|
attr_accessor :size
|
38
42
|
|
43
|
+
# Bytes. Only present for supported filesystems that are currently mounted by the OS
|
39
44
|
# @type [Number] used_size
|
40
45
|
attr_accessor :used_size
|
41
46
|
|
@@ -12,6 +12,7 @@ module Comet
|
|
12
12
|
# PrivateBrandingProperties is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class PrivateBrandingProperties
|
14
14
|
|
15
|
+
# One of the CLIENTBRANDINGBUILD_ constants
|
15
16
|
# @type [Number] build_mode
|
16
17
|
attr_accessor :build_mode
|
17
18
|
|
@@ -39,12 +40,14 @@ module Comet
|
|
39
40
|
# @type [String] package_identifier
|
40
41
|
attr_accessor :package_identifier
|
41
42
|
|
43
|
+
# One of the WINDOWSCODESIGN_METHOD_ constants
|
42
44
|
# @type [Number] windows_code_sign_method
|
43
45
|
attr_accessor :windows_code_sign_method
|
44
46
|
|
45
47
|
# @type [String] windows_code_sign_pkcs12file_path
|
46
48
|
attr_accessor :windows_code_sign_pkcs12file_path
|
47
49
|
|
50
|
+
# One of the ENCRYPTIONMETHOD_ constants
|
48
51
|
# @type [Number] windows_code_sign_pkcs12password_format
|
49
52
|
attr_accessor :windows_code_sign_pkcs12password_format
|
50
53
|
|
@@ -64,6 +67,7 @@ module Comet
|
|
64
67
|
# @type [String] windows_code_sign_pkcs11key_id
|
65
68
|
attr_accessor :windows_code_sign_pkcs11key_id
|
66
69
|
|
70
|
+
# One of the ENCRYPTIONMETHOD_ constants
|
67
71
|
# @type [Number] windows_code_sign_pkcs11password_format
|
68
72
|
attr_accessor :windows_code_sign_pkcs11password_format
|
69
73
|
|
@@ -79,6 +83,7 @@ module Comet
|
|
79
83
|
# @type [String] windows_code_sign_azure_app_id
|
80
84
|
attr_accessor :windows_code_sign_azure_app_id
|
81
85
|
|
86
|
+
# One of the ENCRYPTIONMETHOD_ constants
|
82
87
|
# @type [Number] windows_code_sign_azure_app_secret_format
|
83
88
|
attr_accessor :windows_code_sign_azure_app_secret_format
|
84
89
|
|
@@ -12,18 +12,22 @@ module Comet
|
|
12
12
|
# PSAConfig is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class PSAConfig
|
14
14
|
|
15
|
+
# For PSA_TYPE_GRADIENT. Defaults to enabled
|
15
16
|
# @type [Boolean] alerts_disabled
|
16
17
|
attr_accessor :alerts_disabled
|
17
18
|
|
18
19
|
# @type [Hash{String => String}] custom_headers
|
19
20
|
attr_accessor :custom_headers
|
20
21
|
|
22
|
+
# Specified credentials for the target PSA
|
21
23
|
# @type [String] partner_key
|
22
24
|
attr_accessor :partner_key
|
23
25
|
|
26
|
+
# One of the PSA_TYPE_ constants
|
24
27
|
# @type [Number] type
|
25
28
|
attr_accessor :type
|
26
29
|
|
30
|
+
# For PSA_TYPE_GENERIC
|
27
31
|
# @type [String] url
|
28
32
|
attr_accessor :url
|
29
33
|
|
@@ -41,6 +41,16 @@ module Comet
|
|
41
41
|
# @type [Number] archive_format
|
42
42
|
attr_accessor :archive_format
|
43
43
|
|
44
|
+
# Corresponds to the "Allow partial file restores (zero-out unrecoverable data)" option
|
45
|
+
# This field is available in Comet 23.6.4 and later.
|
46
|
+
# @type [Boolean] skip_unreadable_chunks
|
47
|
+
attr_accessor :skip_unreadable_chunks
|
48
|
+
|
49
|
+
# Corresponds to the "Prefer temporary files instead of RAM (slower)" option
|
50
|
+
# This field is available in Comet 23.6.4 and later.
|
51
|
+
# @type [Boolean] on_disk_indexes_key
|
52
|
+
attr_accessor :on_disk_indexes_key
|
53
|
+
|
44
54
|
# For RESTORETYPE_OFFICE365_CLOUD.
|
45
55
|
# @type [Comet::Office365Credential] office_365credential
|
46
56
|
attr_accessor :office_365credential
|
@@ -151,6 +161,10 @@ module Comet
|
|
151
161
|
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
152
162
|
|
153
163
|
@archive_format = v
|
164
|
+
when 'SkipUnreadableChunks'
|
165
|
+
@skip_unreadable_chunks = v
|
166
|
+
when 'OnDiskIndexesKey'
|
167
|
+
@on_disk_indexes_key = v
|
154
168
|
when 'Office365Credential'
|
155
169
|
@office_365credential = Comet::Office365Credential.new
|
156
170
|
@office_365credential.from_hash(v)
|
@@ -205,6 +219,8 @@ module Comet
|
|
205
219
|
ret['DestPath'] = @dest_path
|
206
220
|
ret['ExactDestPaths'] = @exact_dest_paths
|
207
221
|
ret['ArchiveFormat'] = @archive_format
|
222
|
+
ret['SkipUnreadableChunks'] = @skip_unreadable_chunks
|
223
|
+
ret['OnDiskIndexesKey'] = @on_disk_indexes_key
|
208
224
|
unless @office_365credential.nil?
|
209
225
|
ret['Office365Credential'] = @office_365credential
|
210
226
|
end
|
@@ -10,11 +10,15 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# RetentionRange is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# The Type field controls which fields of this data type are used. For additional information, see
|
14
|
+
# the notes on the RETENTIONRANGE_ constants.
|
13
15
|
class RetentionRange
|
14
16
|
|
17
|
+
# One of the RETENTIONRANGE_ constants
|
15
18
|
# @type [Number] type
|
16
19
|
attr_accessor :type
|
17
20
|
|
21
|
+
# Unix timestamp, in seconds. Used by RETENTIONRANGE_NEWER_THAN_X.
|
18
22
|
# @type [Number] timestamp
|
19
23
|
attr_accessor :timestamp
|
20
24
|
|
@@ -34,6 +38,10 @@ module Comet
|
|
34
38
|
# @type [Number] week_offset
|
35
39
|
attr_accessor :week_offset
|
36
40
|
|
41
|
+
# 1: 1st, 31: 31st
|
42
|
+
# Prior to Comet version 23.6.2, 31 was treated as 30.
|
43
|
+
# For months that do not have a day equal to the specified offset, no backup will be retained.
|
44
|
+
# For example, if the offset is set to 30, no backup will be kept for February.
|
37
45
|
# @type [Number] month_offset
|
38
46
|
attr_accessor :month_offset
|
39
47
|
|
@@ -12,18 +12,34 @@ module Comet
|
|
12
12
|
# SearchClause is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class SearchClause
|
14
14
|
|
15
|
+
# One of the SEARCHCLAUSE_ constants (e.g. empty-string if this is a rule, or "and"/"or" if there
|
16
|
+
# are ClauseChildren)
|
15
17
|
# @type [String] clause_type
|
16
18
|
attr_accessor :clause_type
|
17
19
|
|
20
|
+
# The field name to search. Check the specific API for more information about which fields are
|
21
|
+
# available for searching. For use with ClauseType = SEARCHCLAUSE_RULE.
|
18
22
|
# @type [String] rule_field
|
19
23
|
attr_accessor :rule_field
|
20
24
|
|
25
|
+
# One of the SEARCHOPERATOR_ constants. The operator must match the type of the particular field.
|
26
|
+
# For use with ClauseType = SEARCHCLAUSE_RULE.
|
21
27
|
# @type [String] rule_operator
|
22
28
|
attr_accessor :rule_operator
|
23
29
|
|
30
|
+
# The value to compare the field against.
|
31
|
+
# - If the field is a string, any string is permissable.
|
32
|
+
# - If the field is an integer, the integer should be cast to a base-10 string. There is currently
|
33
|
+
# no support for fractional or floating-point numbers.
|
34
|
+
# - If the field is a boolean, the following values can be used for true ("1", "t", "T", "true",
|
35
|
+
# "TRUE", "True") and the following values can be used for false ("0", "f", "F", "false", "FALSE",
|
36
|
+
# "False").
|
37
|
+
# For use with ClauseType = SEARCHCLAUSE_RULE.
|
24
38
|
# @type [String] rule_value
|
25
39
|
attr_accessor :rule_value
|
26
40
|
|
41
|
+
# If ClauseType is not SEARCHCLAUSE_RULE, the child rules will be applied according to the
|
42
|
+
# ClauseType (e.g. "and"/"or")
|
27
43
|
# @type [Array<Comet::SearchClause>] clause_children
|
28
44
|
attr_accessor :clause_children
|
29
45
|
|
@@ -42,6 +42,7 @@ module Comet
|
|
42
42
|
# @type [Hash{String => Comet::ExternalAuthenticationSource}] external_admin_user_sources
|
43
43
|
attr_accessor :external_admin_user_sources
|
44
44
|
|
45
|
+
# The Comet Server can enforce a bandwidth limit based on the target IP address
|
45
46
|
# @type [Comet::RatelimitOptions] iprate_limit
|
46
47
|
attr_accessor :iprate_limit
|
47
48
|
|
@@ -28,9 +28,11 @@ module Comet
|
|
28
28
|
# @type [String] image_etag
|
29
29
|
attr_accessor :image_etag
|
30
30
|
|
31
|
+
# Colour in RGB hex format (e.g. "#FFFFFF")
|
31
32
|
# @type [String] top_color
|
32
33
|
attr_accessor :top_color
|
33
34
|
|
35
|
+
# Colour in RGB hex format (e.g. "#FFFFFF")
|
34
36
|
# @type [String] accent_color
|
35
37
|
attr_accessor :accent_color
|
36
38
|
|
@@ -62,6 +62,7 @@ module Comet
|
|
62
62
|
# @type [Number] server_license_feature_set
|
63
63
|
attr_accessor :server_license_feature_set
|
64
64
|
|
65
|
+
# Unix timestamp, in seconds.
|
65
66
|
# @type [Number] license_valid_until
|
66
67
|
attr_accessor :license_valid_until
|
67
68
|
|
@@ -89,6 +90,7 @@ module Comet
|
|
89
90
|
# @type [Boolean] scheduled_email_thread_last_wake_sent_emails
|
90
91
|
attr_accessor :scheduled_email_thread_last_wake_sent_emails
|
91
92
|
|
93
|
+
# This field is available in Comet 21.3.2 and later.
|
92
94
|
# @type [Array<Comet::SelfBackupStatistics>] self_backup
|
93
95
|
attr_accessor :self_backup
|
94
96
|
|
@@ -12,15 +12,19 @@ module Comet
|
|
12
12
|
# SoftwareUpdateNewsResponse is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class SoftwareUpdateNewsResponse
|
14
14
|
|
15
|
+
# The latest "Quarterly" release version of Comet known to the account.cometbackup.com system.
|
15
16
|
# @type [String] latest_stable
|
16
17
|
attr_accessor :latest_stable
|
17
18
|
|
19
|
+
# The latest "Voyager" release version of Comet known to the account.cometbackup.com system.
|
18
20
|
# @type [String] latest_prerelease
|
19
21
|
attr_accessor :latest_prerelease
|
20
22
|
|
23
|
+
# A URL linking to the Comet Server downloads page.
|
21
24
|
# @type [String] downloads_url
|
22
25
|
attr_accessor :downloads_url
|
23
26
|
|
27
|
+
# An array of recent news items written by Comet Backup staff. Entries are english plaintext.
|
24
28
|
# @type [Array<String>] whats_new
|
25
29
|
attr_accessor :whats_new
|
26
30
|
|
@@ -10,6 +10,8 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# SourceBasicInfo is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# SourceBasicInfo is the minimal amount of information one device knows about another device's
|
14
|
+
# Protected Items, in order to safely perform retention passes on their behalf.
|
13
15
|
class SourceBasicInfo
|
14
16
|
|
15
17
|
# @type [String] description
|
@@ -89,6 +89,17 @@ module Comet
|
|
89
89
|
# @type [Hash{String => String}] engine_props
|
90
90
|
attr_accessor :engine_props
|
91
91
|
|
92
|
+
# If set, this SourceConfig was added from a Policy with the specified ID.
|
93
|
+
# This field is available in Comet 23.6.0 and later.
|
94
|
+
# @type [String] policy_source_id
|
95
|
+
attr_accessor :policy_source_id
|
96
|
+
|
97
|
+
# For a Policy-defined SourceConfig, this field controls whether the Protected Item will stay linked
|
98
|
+
# with the policy.
|
99
|
+
# This field is available in Comet 23.6.0 and later.
|
100
|
+
# @type [Boolean] existing_user_update
|
101
|
+
attr_accessor :existing_user_update
|
102
|
+
|
92
103
|
# By default, backup jobs from this Protected Item will be subject
|
93
104
|
# to the overall retention policy for the Storage Vault. You can override the policy
|
94
105
|
# for specific Storage Vaults by putting their destination ID as a key here.
|
@@ -115,6 +126,7 @@ module Comet
|
|
115
126
|
@thaw_exec = []
|
116
127
|
@post_exec = []
|
117
128
|
@engine_props = {}
|
129
|
+
@policy_source_id = ''
|
118
130
|
@override_destination_retention = {}
|
119
131
|
@statistics = Comet::SourceStatistics.new
|
120
132
|
@unknown_json_fields = {}
|
@@ -197,6 +209,12 @@ module Comet
|
|
197
209
|
@engine_props[k1] = v1
|
198
210
|
end
|
199
211
|
end
|
212
|
+
when 'PolicySourceID'
|
213
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
214
|
+
|
215
|
+
@policy_source_id = v
|
216
|
+
when 'ExistingUserUpdate'
|
217
|
+
@existing_user_update = v
|
200
218
|
when 'OverrideDestinationRetention'
|
201
219
|
@override_destination_retention = {}
|
202
220
|
if v.nil?
|
@@ -228,6 +246,8 @@ module Comet
|
|
228
246
|
ret['ThawExec'] = @thaw_exec
|
229
247
|
ret['PostExec'] = @post_exec
|
230
248
|
ret['EngineProps'] = @engine_props
|
249
|
+
ret['PolicySourceID'] = @policy_source_id
|
250
|
+
ret['ExistingUserUpdate'] = @existing_user_update
|
231
251
|
unless @override_destination_retention.nil?
|
232
252
|
ret['OverrideDestinationRetention'] = @override_destination_retention
|
233
253
|
end
|
@@ -19,6 +19,7 @@ module Comet
|
|
19
19
|
attr_accessor :storage
|
20
20
|
|
21
21
|
# @type [Array<Comet::LocalStorageDirectory>] local_storage__legacy
|
22
|
+
# @deprecated This member has been deprecated since Comet version 17.3.5
|
22
23
|
attr_accessor :local_storage__legacy
|
23
24
|
|
24
25
|
# @type [Array<Comet::ReplicaServer>] replicate_to
|
@@ -19,12 +19,15 @@ module Comet
|
|
19
19
|
# @type [String] message
|
20
20
|
attr_accessor :message
|
21
21
|
|
22
|
+
# A data URI of an image of a TOTP code (e.g. "data:image/png;base64,AAA...")
|
22
23
|
# @type [String] image
|
23
24
|
attr_accessor :image
|
24
25
|
|
26
|
+
# This field is available in Comet 18.9.9 and later.
|
25
27
|
# @type [String] url
|
26
28
|
attr_accessor :url
|
27
29
|
|
30
|
+
# This field is available in Comet 20.3.2 and later.
|
28
31
|
# @type [String] profile_hash
|
29
32
|
attr_accessor :profile_hash
|
30
33
|
|
@@ -13,12 +13,14 @@ module Comet
|
|
13
13
|
# WebAuthnCredential is a typed class wrapper around the underlying Comet Server API data structure.
|
14
14
|
class WebAuthnCredential
|
15
15
|
|
16
|
+
# When this field is expressed as a WebAuthnCredential class instance, this field may contain binary data. When this field is expressed as JSON, the field is expressed as base64. The marshalling methods on this class will automatically perform base64 conversion as necessary.
|
16
17
|
# @type [Array<Object>] public_key
|
17
18
|
attr_accessor :public_key
|
18
19
|
|
19
20
|
# @type [String] attestation_type
|
20
21
|
attr_accessor :attestation_type
|
21
22
|
|
23
|
+
# When this field is expressed as a WebAuthnCredential class instance, this field may contain binary data. When this field is expressed as JSON, the field is expressed as base64. The marshalling methods on this class will automatically perform base64 conversion as necessary.
|
22
24
|
# @type [Array<Object>] aaguid
|
23
25
|
attr_accessor :aaguid
|
24
26
|
|
@@ -16,6 +16,7 @@ module Comet
|
|
16
16
|
# @type [String] type
|
17
17
|
attr_accessor :type
|
18
18
|
|
19
|
+
# When this field is expressed as a WebAuthnCredentialDescriptor class instance, this field may contain binary data. When this field is expressed as JSON, the field is expressed as base64. The marshalling methods on this class will automatically perform base64 conversion as necessary.
|
19
20
|
# @type [Array<Object>] credential_id
|
20
21
|
attr_accessor :credential_id
|
21
22
|
|
@@ -13,6 +13,7 @@ module Comet
|
|
13
13
|
# WebAuthnPublicKeyCredentialCreationOptions is a typed class wrapper around the underlying Comet Server API data structure.
|
14
14
|
class WebAuthnPublicKeyCredentialCreationOptions
|
15
15
|
|
16
|
+
# When this field is expressed as a WebAuthnPublicKeyCredentialCreationOptions class instance, this field may contain binary data. When this field is expressed as JSON, the field is expressed as base64. The marshalling methods on this class will automatically perform base64 conversion as necessary.
|
16
17
|
# @type [Array<Object>] challenge
|
17
18
|
attr_accessor :challenge
|
18
19
|
|
@@ -13,6 +13,7 @@ module Comet
|
|
13
13
|
# WebAuthnPublicKeyCredentialRequestOptions is a typed class wrapper around the underlying Comet Server API data structure.
|
14
14
|
class WebAuthnPublicKeyCredentialRequestOptions
|
15
15
|
|
16
|
+
# When this field is expressed as a WebAuthnPublicKeyCredentialRequestOptions class instance, this field may contain binary data. When this field is expressed as JSON, the field is expressed as base64. The marshalling methods on this class will automatically perform base64 conversion as necessary.
|
16
17
|
# @type [Array<Object>] challenge
|
17
18
|
attr_accessor :challenge
|
18
19
|
|
@@ -22,6 +22,7 @@ module Comet
|
|
22
22
|
# @type [String] display_name
|
23
23
|
attr_accessor :display_name
|
24
24
|
|
25
|
+
# When this field is expressed as a WebAuthnUserEntity class instance, this field may contain binary data. When this field is expressed as JSON, the field is expressed as base64. The marshalling methods on this class will automatically perform base64 conversion as necessary.
|
25
26
|
# @type [Array<Object>] id
|
26
27
|
attr_accessor :id
|
27
28
|
|
@@ -12,12 +12,14 @@ module Comet
|
|
12
12
|
# WindowsCodeSignProperties is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class WindowsCodeSignProperties
|
14
14
|
|
15
|
+
# One of the WINDOWSCODESIGN_METHOD_ constants
|
15
16
|
# @type [Number] windows_code_sign_method
|
16
17
|
attr_accessor :windows_code_sign_method
|
17
18
|
|
18
19
|
# @type [String] windows_code_sign_pkcs12file_path
|
19
20
|
attr_accessor :windows_code_sign_pkcs12file_path
|
20
21
|
|
22
|
+
# One of the ENCRYPTIONMETHOD_ constants
|
21
23
|
# @type [Number] windows_code_sign_pkcs12password_format
|
22
24
|
attr_accessor :windows_code_sign_pkcs12password_format
|
23
25
|
|
@@ -37,6 +39,7 @@ module Comet
|
|
37
39
|
# @type [String] windows_code_sign_pkcs11key_id
|
38
40
|
attr_accessor :windows_code_sign_pkcs11key_id
|
39
41
|
|
42
|
+
# One of the ENCRYPTIONMETHOD_ constants
|
40
43
|
# @type [Number] windows_code_sign_pkcs11password_format
|
41
44
|
attr_accessor :windows_code_sign_pkcs11password_format
|
42
45
|
|
@@ -52,6 +55,7 @@ module Comet
|
|
52
55
|
# @type [String] windows_code_sign_azure_app_id
|
53
56
|
attr_accessor :windows_code_sign_azure_app_id
|
54
57
|
|
58
|
+
# One of the ENCRYPTIONMETHOD_ constants
|
55
59
|
# @type [Number] windows_code_sign_azure_app_secret_format
|
56
60
|
attr_accessor :windows_code_sign_azure_app_secret_format
|
57
61
|
|
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.10.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: 2023-
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|