comet_backup_ruby_sdk 2.6.0 → 2.8.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 +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/comet_server.rb +58 -0
- data/lib/comet/definitions.rb +512 -484
- data/lib/comet/models/add_bucket_response_message.rb +1 -0
- data/lib/comet/models/admin_resource_response.rb +1 -0
- data/lib/comet/models/azure_destination_location.rb +1 -0
- data/lib/comet/models/b2destination_location.rb +5 -0
- data/lib/comet/models/backup_job_advanced_options.rb +6 -0
- data/lib/comet/models/backup_job_detail.rb +14 -0
- data/lib/comet/models/backup_job_progress.rb +1 -0
- data/lib/comet/models/backup_rule_config.rb +13 -0
- data/lib/comet/models/backup_rule_event_triggers.rb +3 -0
- data/lib/comet/models/branding_options.rb +18 -0
- data/lib/comet/models/browse_disk_drives_response.rb +1 -0
- data/lib/comet/models/browse_edbresponse.rb +1 -0
- data/lib/comet/models/browse_hvresponse.rb +1 -0
- data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +1 -0
- data/lib/comet/models/browse_office_365objects_response.rb +1 -0
- data/lib/comet/models/browse_sqlserver_response.rb +1 -0
- data/lib/comet/models/browse_vssresponse.rb +1 -0
- data/lib/comet/models/bucket_usage_info.rb +2 -0
- data/lib/comet/models/comet_apiresponse_message.rb +1 -0
- data/lib/comet/models/constellation_status_apiresponse.rb +1 -0
- data/lib/comet/models/create_group_policy_response.rb +1 -0
- data/lib/comet/models/destination_config.rb +13 -0
- data/lib/comet/models/destination_location.rb +4 -0
- data/lib/comet/models/device_config.rb +4 -0
- data/lib/comet/models/dispatcher_admin_sources_response.rb +1 -0
- data/lib/comet/models/dispatcher_stored_objects_response.rb +1 -0
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +1 -0
- data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +1 -0
- data/lib/comet/models/email_options.rb +1 -0
- data/lib/comet/models/email_report_config.rb +3 -0
- data/lib/comet/models/email_report_generated_preview.rb +1 -0
- data/lib/comet/models/extra_file_exclusion.rb +4 -0
- data/lib/comet/models/ftpdestination_location.rb +1 -0
- data/lib/comet/models/get_group_policy_response.rb +1 -0
- data/lib/comet/models/get_profile_and_hash_response_message.rb +4 -0
- data/lib/comet/models/get_profile_hash_response_message.rb +1 -0
- data/lib/comet/models/group_policy.rb +22 -0
- data/lib/comet/models/install_token_response.rb +1 -0
- data/lib/comet/models/job_entry.rb +2 -0
- data/lib/comet/models/live_user_connection.rb +11 -0
- data/lib/comet/models/mongo_dbconnection.rb +2 -0
- data/lib/comet/models/office_365object_info.rb +1 -0
- data/lib/comet/models/request_storage_vault_response_message.rb +1 -0
- data/lib/comet/models/restore_job_advanced_options.rb +18 -0
- data/lib/comet/models/retention_policy.rb +1 -0
- data/lib/comet/models/retention_range.rb +1 -0
- data/lib/comet/models/s3destination_location.rb +1 -0
- data/lib/comet/models/search_result_file_info.rb +136 -0
- data/lib/comet/models/search_snapshots_response.rb +105 -0
- data/lib/comet/models/self_backup_export_options.rb +6 -0
- data/lib/comet/models/self_backup_target.rb +6 -0
- data/lib/comet/models/server_config_options.rb +5 -0
- data/lib/comet/models/server_meta_branding_properties.rb +13 -0
- data/lib/comet/models/server_meta_version_info.rb +8 -0
- data/lib/comet/models/session_key_regenerated_response.rb +1 -0
- data/lib/comet/models/sftpdestination_location.rb +1 -0
- data/lib/comet/models/source_config.rb +51 -0
- data/lib/comet/models/sshconnection.rb +1 -0
- data/lib/comet/models/swift_destination_location.rb +7 -0
- data/lib/comet/models/test_response.rb +1 -0
- data/lib/comet/models/time_span.rb +2 -0
- data/lib/comet/models/totp_regenerated_response.rb +1 -0
- data/lib/comet/models/u2fregistration_challenge_response.rb +1 -0
- data/lib/comet/models/uninstall_config.rb +4 -0
- data/lib/comet/models/update_campaign_options.rb +3 -0
- data/lib/comet/models/update_campaign_properties.rb +3 -0
- data/lib/comet/models/update_campaign_status.rb +3 -0
- data/lib/comet/models/user_on_server.rb +2 -0
- data/lib/comet/models/user_profile_config.rb +36 -0
- data/lib/comet/models/vmdksnapshot_view_options.rb +4 -0
- data/lib/comet/models/web_authn_registration_challenge_response.rb +1 -0
- data/lib/comet/models/web_interface_branding_properties.rb +18 -0
- data/lib/comet/models/win_smbauth.rb +6 -0
- data/lib/comet_backup_ruby_sdk.rb +2 -0
- metadata +4 -2
@@ -12,6 +12,7 @@ module Comet
|
|
12
12
|
# SourceConfig is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class SourceConfig
|
14
14
|
|
15
|
+
# One of the ENGINE_BUILTIN_ constants
|
15
16
|
# @type [String] engine
|
16
17
|
attr_accessor :engine
|
17
18
|
|
@@ -27,18 +28,68 @@ module Comet
|
|
27
28
|
# @type [Number] modify_time
|
28
29
|
attr_accessor :modify_time
|
29
30
|
|
31
|
+
# Custom commands to run before the job
|
30
32
|
# @type [Array<String>] pre_exec
|
31
33
|
attr_accessor :pre_exec
|
32
34
|
|
35
|
+
# Custom commands to run after taking a disk snapshot
|
33
36
|
# @type [Array<String>] thaw_exec
|
34
37
|
attr_accessor :thaw_exec
|
35
38
|
|
39
|
+
# Custom commands to run after the job
|
36
40
|
# @type [Array<String>] post_exec
|
37
41
|
attr_accessor :post_exec
|
38
42
|
|
43
|
+
# Configuration for the selected Protected Item type. Each "Engine" supports
|
44
|
+
# different configuration options for the EngineProps values.
|
45
|
+
#
|
46
|
+
# For engine1/file, Comet understands the following EngineProp keys:
|
47
|
+
#
|
48
|
+
# - Any key starting with INCLUDE: A path that is included
|
49
|
+
# - Any key starting with EXCLUDE: An exclusion (glob format)
|
50
|
+
# - Any key starting with REXCLUDE: An exclusion (regular expression format)
|
51
|
+
# - Any key starting with PINCLUDE: A JSON string {"TopDirectory": "", "Value": ""}. TopDirectory is
|
52
|
+
# the path where starts to match the value; Value is an inclusion (glob format)
|
53
|
+
# - Any key starting with RINCLUDE: A JSON string {"TopDirectory": "", "Value": ""}. TopDirectory is
|
54
|
+
# the path where starts to match the value; Value is an inclusion (regular expression format)
|
55
|
+
# - Any key starting with SMBAUTH: A set of Windows network share credentials in WinSMBAuth JSON
|
56
|
+
# format
|
57
|
+
# - USE_WIN_VSS: If present, the 'Take filesystem snapshot' checkbox is checked
|
58
|
+
# - CONFIRM_EFS: If present, the 'Dismiss EFS warning' checkbox is checked
|
59
|
+
# - RESCAN_UNCHANGED: If present, the 'Rescan unchanged files' checkbox is checked
|
60
|
+
#
|
61
|
+
# For engine1/mssql, Comet understands the following EngineProp keys:
|
62
|
+
#
|
63
|
+
# - ALL_DATABASES: If present, include all databases with specified exclusions. If not present, only
|
64
|
+
# back up the specified inclusions
|
65
|
+
# - Any key starting with DATABASE- : A database that is included. Only valid if ALL_DATABASES is
|
66
|
+
# not present.
|
67
|
+
# - Any key starting with EXCEPT-DATABASE- : A database that is excluded. Only valid if
|
68
|
+
# ALL_DATABASES is present.
|
69
|
+
# - INSTANCE: The Microsoft SQL Server instance name
|
70
|
+
# - USERNAME: The username to connect to Microsoft SQL Server
|
71
|
+
# - PASSWORD: The password to connect to Microsoft SQL Server
|
72
|
+
# - AUTHMODE: Either "windows" or "native" (corresponding to the declared MSSQL_AUTH_WINDOWS and
|
73
|
+
# MSSQL_AUTH_NATIVE constant values). If not present, use native authentication if the USERNAME
|
74
|
+
# and/or PASSWORD fields are filled in, use windows authentication if they are blank
|
75
|
+
# - METHOD: Either "OLEDB_NATIVE" or "OLEDB_32" (corresponding to the declared
|
76
|
+
# MSSQL_METHOD_OLEDB_NATIVE and MSSQL_METHOD_OLEDB_32 constant values). If not present, defaults to
|
77
|
+
# Native
|
78
|
+
# - DIFFBASE: If present, take a "Full (base image)" backup job. Otherwise, take a "Full (copy
|
79
|
+
# only)" backup job.
|
80
|
+
# - DIFFERENTIAL: If present, take a "Differential increment" backup job. Otherwise, take a "Full
|
81
|
+
# (copy only)" backup job.
|
82
|
+
# - LOGTRUNC: If present, take a "Log (truncating)" backup job. Otherwise, take a "Full (copy only)"
|
83
|
+
# backup job.
|
84
|
+
# - LOGNOTRUNC: If present, take a "Log (no truncation)" backup job. Otherwise, take a "Full (copy
|
85
|
+
# only)" backup job.
|
86
|
+
#
|
39
87
|
# @type [Hash{String => String}] engine_props
|
40
88
|
attr_accessor :engine_props
|
41
89
|
|
90
|
+
# By default, backup jobs from this Protected Item will be subject
|
91
|
+
# to the overall retention policy for the Storage Vault. You can override the policy
|
92
|
+
# for specific Storage Vaults by putting their destination ID as a key here.
|
42
93
|
# @type [Hash{String => Comet::RetentionPolicy}] override_destination_retention
|
43
94
|
attr_accessor :override_destination_retention
|
44
95
|
|
@@ -12,24 +12,30 @@ module Comet
|
|
12
12
|
# SwiftDestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class SwiftDestinationLocation
|
14
14
|
|
15
|
+
# Username or UserID or Application Credential name or Application Credential ID, or blank for token
|
16
|
+
# authentication
|
15
17
|
# @type [String] username
|
16
18
|
attr_accessor :username
|
17
19
|
|
20
|
+
# User Password, or Application Credential Key, or token if the Username field is blank
|
18
21
|
# @type [String] apikey
|
19
22
|
attr_accessor :apikey
|
20
23
|
|
21
24
|
# @type [String] region
|
22
25
|
attr_accessor :region
|
23
26
|
|
27
|
+
# Mandatory
|
24
28
|
# @type [String] auth_url
|
25
29
|
attr_accessor :auth_url
|
26
30
|
|
27
31
|
# @type [String] domain
|
28
32
|
attr_accessor :domain
|
29
33
|
|
34
|
+
# Tenant name (v2) or Project name (v3)
|
30
35
|
# @type [String] tenant
|
31
36
|
attr_accessor :tenant
|
32
37
|
|
38
|
+
# Project domain name (v3)
|
33
39
|
# @type [String] tenant_domain
|
34
40
|
attr_accessor :tenant_domain
|
35
41
|
|
@@ -40,6 +46,7 @@ module Comet
|
|
40
46
|
attr_accessor :trust_id
|
41
47
|
|
42
48
|
# @type [String] auth_token
|
49
|
+
# @deprecated This member has been deprecated since Comet version 17.8.0
|
43
50
|
attr_accessor :auth_token
|
44
51
|
|
45
52
|
# @type [String] prefix
|
@@ -12,6 +12,7 @@ module Comet
|
|
12
12
|
# TestResponse is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class TestResponse
|
14
14
|
|
15
|
+
# If the operation was successful, the status will be in the 200-299 range.
|
15
16
|
# @type [Number] status
|
16
17
|
attr_accessor :status
|
17
18
|
|
@@ -12,9 +12,11 @@ module Comet
|
|
12
12
|
# TimeSpan is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class TimeSpan
|
14
14
|
|
15
|
+
# SCHEDULE_FREQUENCY_<TYPE>
|
15
16
|
# @type [Number] frequency_type
|
16
17
|
attr_accessor :frequency_type
|
17
18
|
|
19
|
+
# Used for Periodic and Once Only
|
18
20
|
# @type [Number] seconds
|
19
21
|
attr_accessor :seconds
|
20
22
|
|
@@ -12,6 +12,7 @@ module Comet
|
|
12
12
|
# TotpRegeneratedResponse is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class TotpRegeneratedResponse
|
14
14
|
|
15
|
+
# If the operation was successful, the status will be in the 200-299 range.
|
15
16
|
# @type [Number] status
|
16
17
|
attr_accessor :status
|
17
18
|
|
@@ -13,6 +13,7 @@ module Comet
|
|
13
13
|
# @deprecated This type has been deprecated since Comet version 21.12.0
|
14
14
|
class U2FRegistrationChallengeResponse
|
15
15
|
|
16
|
+
# If the operation was successful, the status will be in the 200-299 range.
|
16
17
|
# @type [Number] status
|
17
18
|
attr_accessor :status
|
18
19
|
|
@@ -10,11 +10,15 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# UninstallConfig is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# UninstallConfig allows configuring whether the target device will be uninstalled or not.
|
13
14
|
class UninstallConfig
|
14
15
|
|
16
|
+
# If this option is true, the target device will receive a message asking it to uninstall the Comet
|
17
|
+
# Backup app.
|
15
18
|
# @type [Boolean] uninstall_flag
|
16
19
|
attr_accessor :uninstall_flag
|
17
20
|
|
21
|
+
# This controls the "Remove all user settings from this device" option.
|
18
22
|
# @type [Boolean] remove_config_file
|
19
23
|
attr_accessor :remove_config_file
|
20
24
|
|
@@ -28,9 +28,12 @@ module Comet
|
|
28
28
|
# @type [Boolean] downgrade_newer
|
29
29
|
attr_accessor :downgrade_newer
|
30
30
|
|
31
|
+
# Choose whether this bulk upgrade campaign is allowed to interrupt a running backup job.
|
31
32
|
# @type [Boolean] force_upgrade_running
|
32
33
|
attr_accessor :force_upgrade_running
|
33
34
|
|
35
|
+
# If true, then the UserFilter will be used to restrict which accounts and devices will be eligible
|
36
|
+
# for the software update. If false, all users and devices will be eligible for the software update.
|
34
37
|
# @type [Boolean] apply_device_filter
|
35
38
|
attr_accessor :apply_device_filter
|
36
39
|
|
@@ -24,9 +24,12 @@ module Comet
|
|
24
24
|
# @type [Boolean] downgrade_newer
|
25
25
|
attr_accessor :downgrade_newer
|
26
26
|
|
27
|
+
# Choose whether this bulk upgrade campaign is allowed to interrupt a running backup job.
|
27
28
|
# @type [Boolean] force_upgrade_running
|
28
29
|
attr_accessor :force_upgrade_running
|
29
30
|
|
31
|
+
# If true, then the UserFilter will be used to restrict which accounts and devices will be eligible
|
32
|
+
# for the software update. If false, all users and devices will be eligible for the software update.
|
30
33
|
# @type [Boolean] apply_device_filter
|
31
34
|
attr_accessor :apply_device_filter
|
32
35
|
|
@@ -24,9 +24,12 @@ module Comet
|
|
24
24
|
# @type [Boolean] downgrade_newer
|
25
25
|
attr_accessor :downgrade_newer
|
26
26
|
|
27
|
+
# Choose whether this bulk upgrade campaign is allowed to interrupt a running backup job.
|
27
28
|
# @type [Boolean] force_upgrade_running
|
28
29
|
attr_accessor :force_upgrade_running
|
29
30
|
|
31
|
+
# If true, then the UserFilter will be used to restrict which accounts and devices will be eligible
|
32
|
+
# for the software update. If false, all users and devices will be eligible for the software update.
|
30
33
|
# @type [Boolean] apply_device_filter
|
31
34
|
attr_accessor :apply_device_filter
|
32
35
|
|
@@ -12,6 +12,8 @@ module Comet
|
|
12
12
|
# UserOnServer is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class UserOnServer
|
14
14
|
|
15
|
+
# The server where this user was found. The 0-based indexes here correspond to the entries inside
|
16
|
+
# ConstellationRoleOptions->Servers.
|
15
17
|
# @type [Number] server_id
|
16
18
|
attr_accessor :server_id
|
17
19
|
|
@@ -13,15 +13,22 @@ module Comet
|
|
13
13
|
# This is the main data structure for a user's profile.
|
14
14
|
class UserProfileConfig
|
15
15
|
|
16
|
+
# The name for this account. It uniquely identifies this UserProfileConfig across the entire Comet
|
17
|
+
# Server. It cannot be changed directly.
|
16
18
|
# @type [String] username
|
17
19
|
attr_accessor :username
|
18
20
|
|
21
|
+
# A longer descriptive name for this account. It is not necessarily unique to the Comet Server. The
|
22
|
+
# end-user might be able to change it inside the Comet Backup desktop app.
|
19
23
|
# @type [String] account_name
|
20
24
|
attr_accessor :account_name
|
21
25
|
|
26
|
+
# Timezone in IANA format. Individual devices may declare a more specific timezone in the Devices
|
27
|
+
# field.
|
22
28
|
# @type [String] local_timezone
|
23
29
|
attr_accessor :local_timezone
|
24
30
|
|
31
|
+
# One of the supported languages, such as en_US (DEFAULT_LANGUAGE).
|
25
32
|
# @type [String] language_code
|
26
33
|
attr_accessor :language_code
|
27
34
|
|
@@ -29,12 +36,17 @@ module Comet
|
|
29
36
|
# @type [String] organization_id
|
30
37
|
attr_accessor :organization_id
|
31
38
|
|
39
|
+
# A list of email addresses to send reports to.
|
32
40
|
# @type [Array<String>] emails
|
33
41
|
attr_accessor :emails
|
34
42
|
|
43
|
+
# By default, all the email addresses in the Emails field will receieve the policy-default or
|
44
|
+
# server-wide-default style of email report. Add an override for a specific email address in here to
|
45
|
+
# allow customizing the email report that will be received.
|
35
46
|
# @type [Hash{String => Comet::UserCustomEmailSettings}] override_email_settings
|
36
47
|
attr_accessor :override_email_settings
|
37
48
|
|
49
|
+
# This option can be used to control whether any email reports are sent.
|
38
50
|
# @type [Boolean] send_email_reports
|
39
51
|
attr_accessor :send_email_reports
|
40
52
|
|
@@ -46,27 +58,41 @@ module Comet
|
|
46
58
|
# @type [Hash{String => Comet::SourceConfig}] sources
|
47
59
|
attr_accessor :sources
|
48
60
|
|
61
|
+
# Schedules
|
49
62
|
# @type [Hash{String => Comet::BackupRuleConfig}] backup_rules
|
50
63
|
attr_accessor :backup_rules
|
51
64
|
|
65
|
+
# Devices
|
66
|
+
# To revoke a device, use the AdminRevokeDevice API instead of accessing these fields directly. This
|
67
|
+
# API can also remove associated Protected Items, uninstall the remote device, and disconnect its
|
68
|
+
# live connection.
|
52
69
|
# @type [Hash{String => Comet::DeviceConfig}] devices
|
53
70
|
attr_accessor :devices
|
54
71
|
|
55
72
|
# @type [Boolean] is_suspended
|
56
73
|
attr_accessor :is_suspended
|
57
74
|
|
75
|
+
# Unix timestamp in seconds. Zero if the device is not suspended.
|
58
76
|
# @type [Number] last_suspended
|
59
77
|
attr_accessor :last_suspended
|
60
78
|
|
79
|
+
# A limit on the total Size of all Protected Items in this account. The number of bytes should be
|
80
|
+
# configured in AllProtectedItemsQuotaBytes.
|
61
81
|
# @type [Boolean] all_protected_items_quota_enabled
|
62
82
|
attr_accessor :all_protected_items_quota_enabled
|
63
83
|
|
84
|
+
# A limit on the total Size of all Protected Items in this account. It is enforced if
|
85
|
+
# AllProtectedItemsQuotaEnabled is true.
|
64
86
|
# @type [Number] all_protected_items_quota_bytes
|
65
87
|
attr_accessor :all_protected_items_quota_bytes
|
66
88
|
|
89
|
+
# A limit on the total number of devices registered in this account. Set to zero to allow unlimited
|
90
|
+
# devices.
|
67
91
|
# @type [Number] maximum_devices
|
68
92
|
attr_accessor :maximum_devices
|
69
93
|
|
94
|
+
# A limit on the total number of Office 365 Protected Accounts across all Office 365 Protected Items
|
95
|
+
# in this account. Set to zero to allow unlimited Office 365 Protected Accounts.
|
70
96
|
# @type [Number] quota_office_365protected_accounts
|
71
97
|
attr_accessor :quota_office_365protected_accounts
|
72
98
|
|
@@ -76,6 +102,8 @@ module Comet
|
|
76
102
|
# @type [String] policy_id
|
77
103
|
attr_accessor :policy_id
|
78
104
|
|
105
|
+
# The Policy field contains a read-only copy of the effective Policy that is applied to this user
|
106
|
+
# account.
|
79
107
|
# @type [Comet::UserPolicy] policy
|
80
108
|
attr_accessor :policy
|
81
109
|
|
@@ -87,6 +115,9 @@ module Comet
|
|
87
115
|
# @type [String] password_hash
|
88
116
|
attr_accessor :password_hash
|
89
117
|
|
118
|
+
# If this field is empty, the "Allow administrator to reset my password" feature is turned off. If
|
119
|
+
# this field is filled, it contains a cryptographic root of trust that can decrypt and re-encrypt
|
120
|
+
# other secrets in this profile.
|
90
121
|
# @type [String] password_recovery
|
91
122
|
attr_accessor :password_recovery
|
92
123
|
|
@@ -102,15 +133,20 @@ module Comet
|
|
102
133
|
# @type [String] totpkey
|
103
134
|
attr_accessor :totpkey
|
104
135
|
|
136
|
+
# This field is available in Comet 20.3.4 and later.
|
105
137
|
# @type [Boolean] require_password_change
|
106
138
|
attr_accessor :require_password_change
|
107
139
|
|
140
|
+
# Unix timestamp in seconds
|
108
141
|
# @type [Number] create_time
|
109
142
|
attr_accessor :create_time
|
110
143
|
|
144
|
+
# A random GUID that is allocated when the user profile is created for the first time. You can use
|
145
|
+
# this to help disambiguate users with the same username across multiple Comet Servers.
|
111
146
|
# @type [String] creation_guid
|
112
147
|
attr_accessor :creation_guid
|
113
148
|
|
149
|
+
# Additional server-wide settings that are enforced for this user profile
|
114
150
|
# @type [Comet::UserServerConfig] server_config
|
115
151
|
attr_accessor :server_config
|
116
152
|
|
@@ -12,12 +12,16 @@ module Comet
|
|
12
12
|
# VMDKSnapshotViewOptions is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class VMDKSnapshotViewOptions
|
14
14
|
|
15
|
+
# Request a list of stored objects in vmdk file. It should be always true for restoring single files
|
16
|
+
# from vmdk file
|
15
17
|
# @type [Boolean] enabled
|
16
18
|
attr_accessor :enabled
|
17
19
|
|
20
|
+
# The vmdk filename inside subdirectory of disk image, should be end with .vmdk
|
18
21
|
# @type [String] partition_guid
|
19
22
|
attr_accessor :partition_guid
|
20
23
|
|
24
|
+
# Browse objects' paths inside vmdk file
|
21
25
|
# @type [String] list_path
|
22
26
|
attr_accessor :list_path
|
23
27
|
|
@@ -12,6 +12,7 @@ module Comet
|
|
12
12
|
# WebAuthnRegistrationChallengeResponse is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class WebAuthnRegistrationChallengeResponse
|
14
14
|
|
15
|
+
# If the operation was successful, the status will be in the 200-299 range.
|
15
16
|
# @type [Number] status
|
16
17
|
attr_accessor :status
|
17
18
|
|
@@ -12,6 +12,9 @@ module Comet
|
|
12
12
|
# WebInterfaceBrandingProperties is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class WebInterfaceBrandingProperties
|
14
14
|
|
15
|
+
# @type [Number] branding_style_type
|
16
|
+
attr_accessor :branding_style_type
|
17
|
+
|
15
18
|
# @type [String] brand_name
|
16
19
|
attr_accessor :brand_name
|
17
20
|
|
@@ -21,6 +24,9 @@ module Comet
|
|
21
24
|
# @type [String] top_color
|
22
25
|
attr_accessor :top_color
|
23
26
|
|
27
|
+
# @type [String] accent_color
|
28
|
+
attr_accessor :accent_color
|
29
|
+
|
24
30
|
# @type [String] favicon
|
25
31
|
attr_accessor :favicon
|
26
32
|
|
@@ -35,9 +41,11 @@ module Comet
|
|
35
41
|
end
|
36
42
|
|
37
43
|
def clear
|
44
|
+
@branding_style_type = 0
|
38
45
|
@brand_name = ''
|
39
46
|
@logo_image = ''
|
40
47
|
@top_color = ''
|
48
|
+
@accent_color = ''
|
41
49
|
@favicon = ''
|
42
50
|
@unknown_json_fields = {}
|
43
51
|
end
|
@@ -55,6 +63,10 @@ module Comet
|
|
55
63
|
|
56
64
|
obj.each do |k, v|
|
57
65
|
case k
|
66
|
+
when 'BrandingStyleType'
|
67
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
68
|
+
|
69
|
+
@branding_style_type = v
|
58
70
|
when 'BrandName'
|
59
71
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
60
72
|
|
@@ -67,6 +79,10 @@ module Comet
|
|
67
79
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
68
80
|
|
69
81
|
@top_color = v
|
82
|
+
when 'AccentColor'
|
83
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
84
|
+
|
85
|
+
@accent_color = v
|
70
86
|
when 'Favicon'
|
71
87
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
72
88
|
|
@@ -82,9 +98,11 @@ module Comet
|
|
82
98
|
# @return [Hash] The complete object as a Ruby hash
|
83
99
|
def to_hash
|
84
100
|
ret = {}
|
101
|
+
ret['BrandingStyleType'] = @branding_style_type
|
85
102
|
ret['BrandName'] = @brand_name
|
86
103
|
ret['LogoImage'] = @logo_image
|
87
104
|
ret['TopColor'] = @top_color
|
105
|
+
ret['AccentColor'] = @accent_color
|
88
106
|
ret['Favicon'] = @favicon
|
89
107
|
ret['HideNewsArea'] = @hide_news_area
|
90
108
|
@unknown_json_fields.each do |k, v|
|
@@ -12,15 +12,21 @@ module Comet
|
|
12
12
|
# WinSMBAuth is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class WinSMBAuth
|
14
14
|
|
15
|
+
# The UNC path for the Windows network share (SMB).
|
15
16
|
# @type [String] share_path
|
16
17
|
attr_accessor :share_path
|
17
18
|
|
19
|
+
# The username to log in to the Windows network share (SMB).
|
18
20
|
# @type [String] username
|
19
21
|
attr_accessor :username
|
20
22
|
|
23
|
+
# The password might be hashed. To set this in cleartext, set PasswordFormat to 0
|
24
|
+
# (PASSWORD_FORMAT_PLAINTEXT).
|
21
25
|
# @type [String] password
|
22
26
|
attr_accessor :password
|
23
27
|
|
28
|
+
# The hash algorithm that is used for the Password field. It is one of the PASSWORD_FORMAT_
|
29
|
+
# constants.
|
24
30
|
# @type [Number] password_format
|
25
31
|
attr_accessor :password_format
|
26
32
|
|
@@ -128,6 +128,8 @@ require_relative 'comet/models/s3destination_location'
|
|
128
128
|
require_relative 'comet/models/s3generic_virtual_storage_role'
|
129
129
|
require_relative 'comet/models/schedule_config'
|
130
130
|
require_relative 'comet/models/search_clause'
|
131
|
+
require_relative 'comet/models/search_result_file_info'
|
132
|
+
require_relative 'comet/models/search_snapshots_response'
|
131
133
|
require_relative 'comet/models/self_backup_export_options'
|
132
134
|
require_relative 'comet/models/self_backup_options'
|
133
135
|
require_relative 'comet/models/self_backup_statistics'
|
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.8.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-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -206,6 +206,8 @@ files:
|
|
206
206
|
- lib/comet/models/s3generic_virtual_storage_role.rb
|
207
207
|
- lib/comet/models/schedule_config.rb
|
208
208
|
- lib/comet/models/search_clause.rb
|
209
|
+
- lib/comet/models/search_result_file_info.rb
|
210
|
+
- lib/comet/models/search_snapshots_response.rb
|
209
211
|
- lib/comet/models/self_backup_export_options.rb
|
210
212
|
- lib/comet/models/self_backup_options.rb
|
211
213
|
- lib/comet/models/self_backup_statistics.rb
|