comet_backup_ruby_sdk 2.7.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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile.lock +1 -1
  4. data/comet_backup_ruby_sdk.gemspec +1 -1
  5. data/lib/comet/definitions.rb +201 -181
  6. data/lib/comet/models/add_bucket_response_message.rb +1 -0
  7. data/lib/comet/models/admin_resource_response.rb +1 -0
  8. data/lib/comet/models/azure_destination_location.rb +1 -0
  9. data/lib/comet/models/b2destination_location.rb +5 -0
  10. data/lib/comet/models/backup_job_advanced_options.rb +6 -0
  11. data/lib/comet/models/backup_job_detail.rb +14 -0
  12. data/lib/comet/models/backup_job_progress.rb +1 -0
  13. data/lib/comet/models/backup_rule_config.rb +13 -0
  14. data/lib/comet/models/backup_rule_event_triggers.rb +3 -0
  15. data/lib/comet/models/browse_disk_drives_response.rb +1 -0
  16. data/lib/comet/models/browse_edbresponse.rb +1 -0
  17. data/lib/comet/models/browse_hvresponse.rb +1 -0
  18. data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +1 -0
  19. data/lib/comet/models/browse_office_365objects_response.rb +1 -0
  20. data/lib/comet/models/browse_sqlserver_response.rb +1 -0
  21. data/lib/comet/models/browse_vssresponse.rb +1 -0
  22. data/lib/comet/models/bucket_usage_info.rb +2 -0
  23. data/lib/comet/models/comet_apiresponse_message.rb +1 -0
  24. data/lib/comet/models/constellation_status_apiresponse.rb +1 -0
  25. data/lib/comet/models/create_group_policy_response.rb +1 -0
  26. data/lib/comet/models/destination_config.rb +13 -0
  27. data/lib/comet/models/destination_location.rb +4 -0
  28. data/lib/comet/models/device_config.rb +4 -0
  29. data/lib/comet/models/dispatcher_admin_sources_response.rb +1 -0
  30. data/lib/comet/models/dispatcher_stored_objects_response.rb +1 -0
  31. data/lib/comet/models/dispatcher_vault_snapshots_response.rb +1 -0
  32. data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +1 -0
  33. data/lib/comet/models/email_options.rb +1 -0
  34. data/lib/comet/models/email_report_config.rb +3 -0
  35. data/lib/comet/models/email_report_generated_preview.rb +1 -0
  36. data/lib/comet/models/extra_file_exclusion.rb +4 -0
  37. data/lib/comet/models/ftpdestination_location.rb +1 -0
  38. data/lib/comet/models/get_group_policy_response.rb +1 -0
  39. data/lib/comet/models/get_profile_and_hash_response_message.rb +4 -0
  40. data/lib/comet/models/get_profile_hash_response_message.rb +1 -0
  41. data/lib/comet/models/group_policy.rb +4 -0
  42. data/lib/comet/models/install_token_response.rb +1 -0
  43. data/lib/comet/models/job_entry.rb +2 -0
  44. data/lib/comet/models/live_user_connection.rb +11 -0
  45. data/lib/comet/models/mongo_dbconnection.rb +2 -0
  46. data/lib/comet/models/office_365object_info.rb +1 -0
  47. data/lib/comet/models/request_storage_vault_response_message.rb +1 -0
  48. data/lib/comet/models/restore_job_advanced_options.rb +18 -0
  49. data/lib/comet/models/retention_policy.rb +1 -0
  50. data/lib/comet/models/retention_range.rb +1 -0
  51. data/lib/comet/models/s3destination_location.rb +1 -0
  52. data/lib/comet/models/search_snapshots_response.rb +1 -0
  53. data/lib/comet/models/server_config_options.rb +5 -0
  54. data/lib/comet/models/server_meta_branding_properties.rb +4 -0
  55. data/lib/comet/models/server_meta_version_info.rb +8 -0
  56. data/lib/comet/models/session_key_regenerated_response.rb +1 -0
  57. data/lib/comet/models/sftpdestination_location.rb +1 -0
  58. data/lib/comet/models/source_config.rb +51 -0
  59. data/lib/comet/models/sshconnection.rb +1 -0
  60. data/lib/comet/models/swift_destination_location.rb +7 -0
  61. data/lib/comet/models/test_response.rb +1 -0
  62. data/lib/comet/models/time_span.rb +2 -0
  63. data/lib/comet/models/totp_regenerated_response.rb +1 -0
  64. data/lib/comet/models/u2fregistration_challenge_response.rb +1 -0
  65. data/lib/comet/models/uninstall_config.rb +4 -0
  66. data/lib/comet/models/update_campaign_options.rb +3 -0
  67. data/lib/comet/models/update_campaign_properties.rb +3 -0
  68. data/lib/comet/models/update_campaign_status.rb +3 -0
  69. data/lib/comet/models/user_on_server.rb +2 -0
  70. data/lib/comet/models/user_profile_config.rb +36 -0
  71. data/lib/comet/models/vmdksnapshot_view_options.rb +4 -0
  72. data/lib/comet/models/web_authn_registration_challenge_response.rb +1 -0
  73. data/lib/comet/models/win_smbauth.rb +6 -0
  74. metadata +2 -2
@@ -12,6 +12,7 @@ module Comet
12
12
  # AddBucketResponseMessage is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class AddBucketResponseMessage
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,7 @@ module Comet
12
12
  # AdminResourceResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class AdminResourceResponse
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
 
@@ -21,6 +21,7 @@ module Comet
21
21
  # @type [String] azbcontainer
22
22
  attr_accessor :azbcontainer
23
23
 
24
+ # The base URL for the Azure Blob Storage service. Leave blank to use the global default URL.
24
25
  # @type [String] azbrealm
25
26
  attr_accessor :azbrealm
26
27
 
@@ -12,9 +12,11 @@ module Comet
12
12
  # B2DestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class B2DestinationLocation
14
14
 
15
+ # Key ID
15
16
  # @type [String] account_id
16
17
  attr_accessor :account_id
17
18
 
19
+ # Application Key
18
20
  # @type [String] key
19
21
  attr_accessor :key
20
22
 
@@ -28,6 +30,9 @@ module Comet
28
30
  # @deprecated This member has been deprecated since Comet version 21.9.7
29
31
  attr_accessor :max_connections
30
32
 
33
+ # Hide files instead of deleting them. This can be used for ransomware protection if (A) the B2
34
+ # credentials have the hideFile permission but not the deleteFile permission, and (B) you use the
35
+ # Backblaze B2 server-side lifecycle policies to clean up old hidden files.
31
36
  # @type [Boolean] hide_deleted_files
32
37
  attr_accessor :hide_deleted_files
33
38
 
@@ -15,21 +15,27 @@ module Comet
15
15
  # @type [Boolean] skip_already_running
16
16
  attr_accessor :skip_already_running
17
17
 
18
+ # If Zero: disabled
18
19
  # @type [Number] stop_after
19
20
  attr_accessor :stop_after
20
21
 
22
+ # If Zero: disabled
21
23
  # @type [Number] limit_vault_speed_bps
22
24
  attr_accessor :limit_vault_speed_bps
23
25
 
26
+ # Default disabled
24
27
  # @type [Boolean] reduce_disk_concurrency
25
28
  attr_accessor :reduce_disk_concurrency
26
29
 
30
+ # Default disabled
27
31
  # @type [Boolean] use_on_disk_indexes
28
32
  attr_accessor :use_on_disk_indexes
29
33
 
34
+ # Default disabled
30
35
  # @type [Boolean] allow_zero_files_success
31
36
  attr_accessor :allow_zero_files_success
32
37
 
38
+ # If Zero: default Automatic (BACKUPJOBAUTORETENTION_AUTOMATIC)
33
39
  # @type [Number] auto_retention_level
34
40
  attr_accessor :auto_retention_level
35
41
 
@@ -24,15 +24,19 @@ module Comet
24
24
  # @type [Number] status
25
25
  attr_accessor :status
26
26
 
27
+ # Unix timestamp in seconds
27
28
  # @type [Number] start_time
28
29
  attr_accessor :start_time
29
30
 
31
+ # Unix timestamp in seconds. Will be zero if the job is still running.
30
32
  # @type [Number] end_time
31
33
  attr_accessor :end_time
32
34
 
35
+ # The Protected Item that this job is for
33
36
  # @type [String] source_guid
34
37
  attr_accessor :source_guid
35
38
 
39
+ # The Storage Vault that this job is for
36
40
  # @type [String] destination_guid
37
41
  attr_accessor :destination_guid
38
42
 
@@ -63,33 +67,43 @@ module Comet
63
67
  # @type [Number] download_size
64
68
  attr_accessor :download_size
65
69
 
70
+ # For Hyper-V and VMware backup jobs, the total number of virtual machines.
66
71
  # @type [Number] total_vm_count
67
72
  attr_accessor :total_vm_count
68
73
 
74
+ # For Office 365 backup jobs, the total number of mailboxes.
69
75
  # @type [Number] total_mails_count
70
76
  attr_accessor :total_mails_count
71
77
 
78
+ # For Office 365 backup jobs, the total number of SharePoint sites.
72
79
  # @type [Number] total_sites_count
73
80
  attr_accessor :total_sites_count
74
81
 
82
+ # For Office 365 backup jobs, the calculated effective number of protected accounts.
75
83
  # @type [Number] total_accounts_count
76
84
  attr_accessor :total_accounts_count
77
85
 
86
+ # For Office 365 backup jobs, the number of licensed mailboxes.
78
87
  # @type [Number] total_licensed_mails_count
79
88
  attr_accessor :total_licensed_mails_count
80
89
 
90
+ # For Office 365 backup jobs, the number of unlicensed mailboxes.
81
91
  # @type [Number] total_unlicensed_mails_count
82
92
  attr_accessor :total_unlicensed_mails_count
83
93
 
84
94
  # @type [String] cancellation_id
85
95
  attr_accessor :cancellation_id
86
96
 
97
+ # If this backup job is still running, additional partial-progress information may be present in
98
+ # this field.
87
99
  # @type [Comet::BackupJobProgress] progress
88
100
  attr_accessor :progress
89
101
 
102
+ # The size of the Storage Vault, as measured at the start of the job.
90
103
  # @type [Comet::SizeMeasurement] destination_size_start
91
104
  attr_accessor :destination_size_start
92
105
 
106
+ # The size of the Storage Vault, as measured at the end of the job.
93
107
  # @type [Comet::SizeMeasurement] destination_size_end
94
108
  attr_accessor :destination_size_end
95
109
 
@@ -18,6 +18,7 @@ module Comet
18
18
  # @type [Number] sent_time
19
19
  attr_accessor :sent_time
20
20
 
21
+ # The typo is preserved for backwards-compatibility reasons.
21
22
  # @type [Number] recieved_time
22
23
  attr_accessor :recieved_time
23
24
 
@@ -10,23 +10,30 @@ require 'json'
10
10
  module Comet
11
11
 
12
12
  # BackupRuleConfig is a typed class wrapper around the underlying Comet Server API data structure.
13
+ # A backup rule connects one source Protected Item and one destination Storage Vault, with multiple
14
+ # time schedules or event triggers
13
15
  class BackupRuleConfig
14
16
 
15
17
  # @type [String] description
16
18
  attr_accessor :description
17
19
 
20
+ # Unix timestamp in seconds
18
21
  # @type [Number] create_time
19
22
  attr_accessor :create_time
20
23
 
24
+ # Unix timestamp in seconds. The caller is responsible for updating this themselves.
21
25
  # @type [Number] modify_time
22
26
  attr_accessor :modify_time
23
27
 
28
+ # Custom commands to run before the job
24
29
  # @type [Array<String>] pre_exec
25
30
  attr_accessor :pre_exec
26
31
 
32
+ # Custom commands to run after taking a disk snapshot
27
33
  # @type [Array<String>] thaw_exec
28
34
  attr_accessor :thaw_exec
29
35
 
36
+ # Custom commands to run after the job
30
37
  # @type [Array<String>] post_exec
31
38
  attr_accessor :post_exec
32
39
 
@@ -39,21 +46,27 @@ module Comet
39
46
  # @type [Boolean] skip_already_running
40
47
  attr_accessor :skip_already_running
41
48
 
49
+ # If Zero: disabled
42
50
  # @type [Number] stop_after
43
51
  attr_accessor :stop_after
44
52
 
53
+ # If Zero: disabled
45
54
  # @type [Number] limit_vault_speed_bps
46
55
  attr_accessor :limit_vault_speed_bps
47
56
 
57
+ # Default disabled
48
58
  # @type [Boolean] reduce_disk_concurrency
49
59
  attr_accessor :reduce_disk_concurrency
50
60
 
61
+ # Default disabled
51
62
  # @type [Boolean] use_on_disk_indexes
52
63
  attr_accessor :use_on_disk_indexes
53
64
 
65
+ # Default disabled
54
66
  # @type [Boolean] allow_zero_files_success
55
67
  attr_accessor :allow_zero_files_success
56
68
 
69
+ # If Zero: default Automatic (BACKUPJOBAUTORETENTION_AUTOMATIC)
57
70
  # @type [Number] auto_retention_level
58
71
  attr_accessor :auto_retention_level
59
72
 
@@ -12,9 +12,12 @@ module Comet
12
12
  # BackupRuleEventTriggers is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BackupRuleEventTriggers
14
14
 
15
+ # The "When PC Starts" option
15
16
  # @type [Boolean] on_pcboot
16
17
  attr_accessor :on_pcboot
17
18
 
19
+ # The "If the last job was Missed" option. In Comet 23.12.3 and later, this condition is evaluated
20
+ # when the PC starts and/or when the live connection is resumed.
18
21
  # @type [Boolean] on_pcboot_if_last_job_missed
19
22
  attr_accessor :on_pcboot_if_last_job_missed
20
23
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseDiskDrivesResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseDiskDrivesResponse
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,7 @@ module Comet
12
12
  # BrowseEDBResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseEDBResponse
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,7 @@ module Comet
12
12
  # BrowseHVResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseHVResponse
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,7 @@ module Comet
12
12
  # BrowseOffice365ListVirtualAccountsResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseOffice365ListVirtualAccountsResponse
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,7 @@ module Comet
12
12
  # BrowseOffice365ObjectsResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseOffice365ObjectsResponse
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,7 @@ module Comet
12
12
  # BrowseSQLServerResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseSQLServerResponse
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,7 @@ module Comet
12
12
  # BrowseVSSResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseVSSResponse
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
 
@@ -15,6 +15,8 @@ module Comet
15
15
  # @type [String] access_key
16
16
  attr_accessor :access_key
17
17
 
18
+ # The servers where this bucket was found. The 0-based indexes here correspond to the entries inside
19
+ # ConstellationRoleOptions->Servers.
18
20
  # @type [Array<Number>] exists_on_servers
19
21
  attr_accessor :exists_on_servers
20
22
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # CometAPIResponseMessage is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class CometAPIResponseMessage
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
 
@@ -18,6 +18,7 @@ module Comet
18
18
  # @type [Array<String>] targets
19
19
  attr_accessor :targets
20
20
 
21
+ # This field is available in Comet 18.6.2 and later.
21
22
  # @type [Array<String>] target_names
22
23
  attr_accessor :target_names
23
24
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # CreateGroupPolicyResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class CreateGroupPolicyResponse
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
 
@@ -21,12 +21,15 @@ module Comet
21
21
  # @type [Number] modify_time
22
22
  attr_accessor :modify_time
23
23
 
24
+ # Custom commands to run before the job
24
25
  # @type [Array<String>] pre_exec
25
26
  attr_accessor :pre_exec
26
27
 
28
+ # Custom commands to run after taking a disk snapshot
27
29
  # @type [Array<String>] thaw_exec
28
30
  attr_accessor :thaw_exec
29
31
 
32
+ # Custom commands to run after the job
30
33
  # @type [Array<String>] post_exec
31
34
  attr_accessor :post_exec
32
35
 
@@ -63,6 +66,7 @@ module Comet
63
66
  # @type [String] s3custom_region
64
67
  attr_accessor :s3custom_region
65
68
 
69
+ # If true, use legacy v2 signing. If false (default), use modern v4 signing
66
70
  # @type [Boolean] s3uses_v2signing
67
71
  attr_accessor :s3uses_v2signing
68
72
 
@@ -81,6 +85,7 @@ module Comet
81
85
  # @type [String] sftpremote_path
82
86
  attr_accessor :sftpremote_path
83
87
 
88
+ # One of the DESTINATION_SFTP_AUTHMODE_ constants
84
89
  # @type [Number] sftpauth_mode
85
90
  attr_accessor :sftpauth_mode
86
91
 
@@ -111,6 +116,7 @@ module Comet
111
116
  # @type [String] ftpcustom_base_directory
112
117
  attr_accessor :ftpcustom_base_directory
113
118
 
119
+ # One of the FTPS_MODE_ constants.
114
120
  # @type [Number] ftpsmode
115
121
  attr_accessor :ftpsmode
116
122
 
@@ -132,6 +138,7 @@ module Comet
132
138
  # @type [String] azbcontainer
133
139
  attr_accessor :azbcontainer
134
140
 
141
+ # The base URL for the Azure Blob Storage service. Leave blank to use the global default URL.
135
142
  # @type [String] azbrealm
136
143
  attr_accessor :azbrealm
137
144
 
@@ -165,18 +172,23 @@ module Comet
165
172
  # @type [Boolean] span_use_static_slots
166
173
  attr_accessor :span_use_static_slots
167
174
 
175
+ # One of the ENCRYPTIONMETHOD_ constants
168
176
  # @type [Number] encryption_key_encryption_method
169
177
  attr_accessor :encryption_key_encryption_method
170
178
 
171
179
  # @type [String] encrypted_encryption_key
172
180
  attr_accessor :encrypted_encryption_key
173
181
 
182
+ # Unix timestamp in seconds. If zero, the Storage Vault has not yet been initialized for the first
183
+ # time.
174
184
  # @type [Number] repo_init_timestamp
175
185
  attr_accessor :repo_init_timestamp
176
186
 
187
+ # Storage Vault quota
177
188
  # @type [Boolean] storage_limit_enabled
178
189
  attr_accessor :storage_limit_enabled
179
190
 
191
+ # Storage Vault quota
180
192
  # @type [Number] storage_limit_bytes
181
193
  attr_accessor :storage_limit_bytes
182
194
 
@@ -186,6 +198,7 @@ module Comet
186
198
  # @type [Comet::RetentionPolicy] default_retention
187
199
  attr_accessor :default_retention
188
200
 
201
+ # The "Prevent users from viewing the actual storage type" option
189
202
  # @type [Boolean] rebrand_storage
190
203
  attr_accessor :rebrand_storage
191
204
 
@@ -45,6 +45,7 @@ module Comet
45
45
  # @type [String] s3custom_region
46
46
  attr_accessor :s3custom_region
47
47
 
48
+ # If true, use legacy v2 signing. If false (default), use modern v4 signing
48
49
  # @type [Boolean] s3uses_v2signing
49
50
  attr_accessor :s3uses_v2signing
50
51
 
@@ -63,6 +64,7 @@ module Comet
63
64
  # @type [String] sftpremote_path
64
65
  attr_accessor :sftpremote_path
65
66
 
67
+ # One of the DESTINATION_SFTP_AUTHMODE_ constants
66
68
  # @type [Number] sftpauth_mode
67
69
  attr_accessor :sftpauth_mode
68
70
 
@@ -93,6 +95,7 @@ module Comet
93
95
  # @type [String] ftpcustom_base_directory
94
96
  attr_accessor :ftpcustom_base_directory
95
97
 
98
+ # One of the FTPS_MODE_ constants.
96
99
  # @type [Number] ftpsmode
97
100
  attr_accessor :ftpsmode
98
101
 
@@ -114,6 +117,7 @@ module Comet
114
117
  # @type [String] azbcontainer
115
118
  attr_accessor :azbcontainer
116
119
 
120
+ # The base URL for the Azure Blob Storage service. Leave blank to use the global default URL.
117
121
  # @type [String] azbrealm
118
122
  attr_accessor :azbrealm
119
123
 
@@ -18,12 +18,16 @@ module Comet
18
18
  # @type [Number] registration_time
19
19
  attr_accessor :registration_time
20
20
 
21
+ # The operating system that the device uses.
21
22
  # @type [Comet::OSInfo] platform_version
22
23
  attr_accessor :platform_version
23
24
 
25
+ # Minimal information about the device's private Protected Items, so that other devices can safely
26
+ # run retention passes on a shared Storage Vault.
24
27
  # @type [Hash{String => Comet::SourceBasicInfo}] sources
25
28
  attr_accessor :sources
26
29
 
30
+ # The device's reported timezone in IANA format.
27
31
  # @type [String] device_timezone
28
32
  attr_accessor :device_timezone
29
33
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # DispatcherAdminSourcesResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class DispatcherAdminSourcesResponse
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,7 @@ module Comet
12
12
  # DispatcherStoredObjectsResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class DispatcherStoredObjectsResponse
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,7 @@ module Comet
12
12
  # DispatcherVaultSnapshotsResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class DispatcherVaultSnapshotsResponse
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,7 @@ module Comet
12
12
  # DispatcherWindiskSnapshotResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class DispatcherWindiskSnapshotResponse
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
 
@@ -18,6 +18,7 @@ module Comet
18
18
  # @type [String] from_name
19
19
  attr_accessor :from_name
20
20
 
21
+ # One of the EMAIL_DELIVERY_ constants
21
22
  # @type [String] mode
22
23
  attr_accessor :mode
23
24
 
@@ -12,12 +12,15 @@ module Comet
12
12
  # EmailReportConfig is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class EmailReportConfig
14
14
 
15
+ # One of the EMAILREPORTTYPE_ constants
15
16
  # @type [Number] report_type
16
17
  attr_accessor :report_type
17
18
 
19
+ # Used as a list of scheduled times to send
18
20
  # @type [Array<Comet::ScheduleConfig>] summary_frequency
19
21
  attr_accessor :summary_frequency
20
22
 
23
+ # Used to the determine the time bounds of a report
21
24
  # @type [Comet::TimeSpan] time_span
22
25
  attr_accessor :time_span
23
26
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # EmailReportGeneratedPreview is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class EmailReportGeneratedPreview
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,12 +12,16 @@ module Comet
12
12
  # ExtraFileExclusion is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class ExtraFileExclusion
14
14
 
15
+ # The glob or regular expression to exclude from backup jobs
15
16
  # @type [String] exclude
16
17
  attr_accessor :exclude
17
18
 
19
+ # Choose whether the 'Exclude' parameter will be treated as a regular expression (true) or a glob
20
+ # (false)
18
21
  # @type [Boolean] regex
19
22
  attr_accessor :regex
20
23
 
24
+ # Either OS_ANY or one of the OS_ONLY constants
21
25
  # @type [Number] restrict_os
22
26
  attr_accessor :restrict_os
23
27
 
@@ -27,6 +27,7 @@ module Comet
27
27
  # @type [String] ftpcustom_base_directory
28
28
  attr_accessor :ftpcustom_base_directory
29
29
 
30
+ # One of the FTPS_MODE_ constants.
30
31
  # @type [Number] ftpsmode
31
32
  attr_accessor :ftpsmode
32
33
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # GetGroupPolicyResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class GetGroupPolicyResponse
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,12 +12,16 @@ module Comet
12
12
  # GetProfileAndHashResponseMessage is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class GetProfileAndHashResponseMessage
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
 
18
19
  # @type [String] message
19
20
  attr_accessor :message
20
21
 
22
+ # A hash identifier for the current state of the user's profile. If you supply this in the
23
+ # AdminSetUserProfileHash API, the server can safely reject your change if another change has
24
+ # happened concurrently. This allows you to retry the request.
21
25
  # @type [String] profile_hash
22
26
  attr_accessor :profile_hash
23
27
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # GetProfileHashResponseMessage is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class GetProfileHashResponseMessage
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
 
@@ -21,12 +21,16 @@ module Comet
21
21
  # @type [Comet::UserPolicy] policy
22
22
  attr_accessor :policy
23
23
 
24
+ # DefaultUserPolicy marks that this UserPolicy should be applied to all new users. The Comet Server
25
+ # will ensure that only one policy can be set as default.
24
26
  # @type [Boolean] default_user_policy
25
27
  attr_accessor :default_user_policy
26
28
 
29
+ # Unix timestamp in seconds. May be zero for Policies created prior to Comet 23.3.3.
27
30
  # @type [Number] created_date
28
31
  attr_accessor :created_date
29
32
 
33
+ # Unix timestamp in seconds. May be zero for Policies created prior to Comet 23.3.3.
30
34
  # @type [Number] modified_date
31
35
  attr_accessor :modified_date
32
36
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # InstallTokenResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class InstallTokenResponse
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,9 +13,11 @@ module Comet
13
13
  # JobEntry is a single entry within a job report.
14
14
  class JobEntry
15
15
 
16
+ # Unix timestamp in seconds
16
17
  # @type [Number] time
17
18
  attr_accessor :time
18
19
 
20
+ # One of the SEVERITY_ constants.
19
21
  # @type [String] severity
20
22
  attr_accessor :severity
21
23