files.com 1.1.612 → 1.1.614
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/_VERSION +1 -1
- data/docs/key_lifecycle_rule.md +8 -0
- data/docs/public_key.md +4 -0
- data/docs/sso_strategy.md +4 -0
- data/docs/sync.md +12 -12
- data/lib/files.com/models/key_lifecycle_rule.rb +15 -0
- data/lib/files.com/models/public_key.rb +18 -0
- data/lib/files.com/models/sso_strategy.rb +10 -0
- data/lib/files.com/models/sync.rb +12 -12
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9fe3c25fb2e54ac1a0848189fc6a0aa18add7043bd0580cfc33d911876b9af54
|
|
4
|
+
data.tar.gz: 8de8ea19756e9cde05ee7fdc9f950e342d97d84e909db0589e7eee3c5f5da022
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de8127575b344f21fb5e21292e16ef5147676900450a7f0fb313d36d7152b5ea3c1573ac3ec595385273a4344bf90e58515270cae1ec3dbb7a040fd408f3ae96
|
|
7
|
+
data.tar.gz: 5c04e3b18b9da018208fd55d67582a233697188ec719a986d31b7082e5abeb769f3b30b08647423ed40a1d9ea6f2ce29982ac0e77c104b25b97a722b792660a3
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.614
|
data/docs/key_lifecycle_rule.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"key_type": "gpg",
|
|
9
9
|
"inactivity_days": 12,
|
|
10
|
+
"expiration_days": 365,
|
|
10
11
|
"apply_to_all_workspaces": true,
|
|
11
12
|
"name": "inactive gpg keys",
|
|
12
13
|
"workspace_id": 12
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
* `id` (int64): Key Lifecycle Rule ID
|
|
17
18
|
* `key_type` (string): Key type for which the rule will apply (gpg or ssh).
|
|
18
19
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies.
|
|
20
|
+
* `expiration_days` (int64): Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
19
21
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to keys in all workspaces.
|
|
20
22
|
* `name` (string): Key Lifecycle Rule name
|
|
21
23
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
@@ -57,6 +59,7 @@ Files::KeyLifecycleRule.find(id)
|
|
|
57
59
|
```
|
|
58
60
|
Files::KeyLifecycleRule.create(
|
|
59
61
|
apply_to_all_workspaces: true,
|
|
62
|
+
expiration_days: 365,
|
|
60
63
|
key_type: "gpg",
|
|
61
64
|
inactivity_days: 12,
|
|
62
65
|
name: "inactive gpg keys",
|
|
@@ -67,6 +70,7 @@ Files::KeyLifecycleRule.create(
|
|
|
67
70
|
### Parameters
|
|
68
71
|
|
|
69
72
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to keys in all workspaces.
|
|
73
|
+
* `expiration_days` (int64): Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
70
74
|
* `key_type` (string): Key type for which the rule will apply (gpg or ssh).
|
|
71
75
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies.
|
|
72
76
|
* `name` (string): Key Lifecycle Rule name
|
|
@@ -80,6 +84,7 @@ Files::KeyLifecycleRule.create(
|
|
|
80
84
|
```
|
|
81
85
|
Files::KeyLifecycleRule.update(id,
|
|
82
86
|
apply_to_all_workspaces: true,
|
|
87
|
+
expiration_days: 365,
|
|
83
88
|
key_type: "gpg",
|
|
84
89
|
inactivity_days: 12,
|
|
85
90
|
name: "inactive gpg keys",
|
|
@@ -91,6 +96,7 @@ Files::KeyLifecycleRule.update(id,
|
|
|
91
96
|
|
|
92
97
|
* `id` (int64): Required - Key Lifecycle Rule ID.
|
|
93
98
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to keys in all workspaces.
|
|
99
|
+
* `expiration_days` (int64): Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
94
100
|
* `key_type` (string): Key type for which the rule will apply (gpg or ssh).
|
|
95
101
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies.
|
|
96
102
|
* `name` (string): Key Lifecycle Rule name
|
|
@@ -119,6 +125,7 @@ key_lifecycle_rule = Files::KeyLifecycleRule.find(id)
|
|
|
119
125
|
|
|
120
126
|
key_lifecycle_rule.update(
|
|
121
127
|
apply_to_all_workspaces: true,
|
|
128
|
+
expiration_days: 365,
|
|
122
129
|
key_type: "gpg",
|
|
123
130
|
inactivity_days: 12,
|
|
124
131
|
name: "inactive gpg keys",
|
|
@@ -130,6 +137,7 @@ key_lifecycle_rule.update(
|
|
|
130
137
|
|
|
131
138
|
* `id` (int64): Required - Key Lifecycle Rule ID.
|
|
132
139
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to keys in all workspaces.
|
|
140
|
+
* `expiration_days` (int64): Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
133
141
|
* `key_type` (string): Key type for which the rule will apply (gpg or ssh).
|
|
134
142
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies.
|
|
135
143
|
* `name` (string): Key Lifecycle Rule name
|
data/docs/public_key.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"workspace_id": 1,
|
|
9
9
|
"title": "My public key",
|
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
|
11
|
+
"expires_at": "2000-01-01T01:00:00Z",
|
|
12
|
+
"expired": true,
|
|
11
13
|
"fingerprint": "43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8",
|
|
12
14
|
"fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
|
|
13
15
|
"status": "complete",
|
|
@@ -23,6 +25,8 @@
|
|
|
23
25
|
* `workspace_id` (int64): Workspace ID (0 for default workspace).
|
|
24
26
|
* `title` (string): Public key title
|
|
25
27
|
* `created_at` (date-time): Public key created at date/time
|
|
28
|
+
* `expires_at` (date-time): Public key expiration date/time
|
|
29
|
+
* `expired` (boolean): Is this public key expired?
|
|
26
30
|
* `fingerprint` (string): Public key fingerprint (MD5)
|
|
27
31
|
* `fingerprint_sha256` (string): Public key fingerprint (SHA256)
|
|
28
32
|
* `status` (string): Only returned when generating keys. Can be invalid, not_generated, generating, complete
|
data/docs/sso_strategy.md
CHANGED
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
"ldap_host_2": "ldap2.site.com",
|
|
52
52
|
"ldap_host_3": "ldap3.site.com",
|
|
53
53
|
"ldap_port": 1,
|
|
54
|
+
"ldap_provisioning_enabled": true,
|
|
54
55
|
"ldap_secure": true,
|
|
56
|
+
"ldap_type": "active_directory",
|
|
55
57
|
"ldap_username": "[ldap username]",
|
|
56
58
|
"ldap_username_field": "sAMAccountName"
|
|
57
59
|
}
|
|
@@ -104,7 +106,9 @@
|
|
|
104
106
|
* `ldap_host_2` (string): LDAP backup host
|
|
105
107
|
* `ldap_host_3` (string): LDAP backup host
|
|
106
108
|
* `ldap_port` (int64): LDAP port
|
|
109
|
+
* `ldap_provisioning_enabled` (boolean): Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
|
|
107
110
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
111
|
+
* `ldap_type` (string): LDAP server type
|
|
108
112
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
109
113
|
* `ldap_username_field` (string): LDAP username field
|
|
110
114
|
|
data/docs/sync.md
CHANGED
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
111
111
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
112
112
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
113
|
-
* `schedule_times_of_day` (array(string)):
|
|
114
|
-
* `schedule_time_zone` (string):
|
|
115
|
-
* `holiday_region` (string):
|
|
113
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
114
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
115
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
116
116
|
* `latest_sync_run` (SyncRun): The latest run of this sync
|
|
117
117
|
|
|
118
118
|
|
|
@@ -183,15 +183,15 @@ Files::Sync.create(
|
|
|
183
183
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
184
184
|
* `disabled` (boolean): Is this sync disabled?
|
|
185
185
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
186
|
-
* `holiday_region` (string):
|
|
186
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
187
187
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
|
188
188
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
189
189
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
190
190
|
* `name` (string): Name for this sync job
|
|
191
191
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
192
192
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
193
|
-
* `schedule_time_zone` (string):
|
|
194
|
-
* `schedule_times_of_day` (array(string)):
|
|
193
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
194
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
195
195
|
* `src_path` (string): Absolute source path for the sync
|
|
196
196
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
197
197
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -264,15 +264,15 @@ Files::Sync.update(id,
|
|
|
264
264
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
265
265
|
* `disabled` (boolean): Is this sync disabled?
|
|
266
266
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
267
|
-
* `holiday_region` (string):
|
|
267
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
268
268
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
|
269
269
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
270
270
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
271
271
|
* `name` (string): Name for this sync job
|
|
272
272
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
273
273
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
274
|
-
* `schedule_time_zone` (string):
|
|
275
|
-
* `schedule_times_of_day` (array(string)):
|
|
274
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
275
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
276
276
|
* `src_path` (string): Absolute source path for the sync
|
|
277
277
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
278
278
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -363,15 +363,15 @@ sync.update(
|
|
|
363
363
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
364
364
|
* `disabled` (boolean): Is this sync disabled?
|
|
365
365
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
366
|
-
* `holiday_region` (string):
|
|
366
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
367
367
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
|
368
368
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
369
369
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
370
370
|
* `name` (string): Name for this sync job
|
|
371
371
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
372
372
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
373
|
-
* `schedule_time_zone` (string):
|
|
374
|
-
* `schedule_times_of_day` (array(string)):
|
|
373
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
374
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
375
375
|
* `src_path` (string): Absolute source path for the sync
|
|
376
376
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
377
377
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -36,6 +36,15 @@ module Files
|
|
|
36
36
|
@attributes[:inactivity_days] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# int64 - Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
40
|
+
def expiration_days
|
|
41
|
+
@attributes[:expiration_days]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def expiration_days=(value)
|
|
45
|
+
@attributes[:expiration_days] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
# boolean - If true, a default-workspace rule also applies to keys in all workspaces.
|
|
40
49
|
def apply_to_all_workspaces
|
|
41
50
|
@attributes[:apply_to_all_workspaces]
|
|
@@ -65,6 +74,7 @@ module Files
|
|
|
65
74
|
|
|
66
75
|
# Parameters:
|
|
67
76
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
|
|
77
|
+
# expiration_days - int64 - Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
68
78
|
# key_type - string - Key type for which the rule will apply (gpg or ssh).
|
|
69
79
|
# inactivity_days - int64 - Number of days of inactivity before the rule applies.
|
|
70
80
|
# name - string - Key Lifecycle Rule name
|
|
@@ -74,6 +84,7 @@ module Files
|
|
|
74
84
|
params[:id] = @attributes[:id]
|
|
75
85
|
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
76
86
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
87
|
+
raise InvalidParameterError.new("Bad parameter: expiration_days must be an Integer") if params[:expiration_days] and !params[:expiration_days].is_a?(Integer)
|
|
77
88
|
raise InvalidParameterError.new("Bad parameter: key_type must be an String") if params[:key_type] and !params[:key_type].is_a?(String)
|
|
78
89
|
raise InvalidParameterError.new("Bad parameter: inactivity_days must be an Integer") if params[:inactivity_days] and !params[:inactivity_days].is_a?(Integer)
|
|
79
90
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -147,11 +158,13 @@ module Files
|
|
|
147
158
|
|
|
148
159
|
# Parameters:
|
|
149
160
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
|
|
161
|
+
# expiration_days - int64 - Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
150
162
|
# key_type - string - Key type for which the rule will apply (gpg or ssh).
|
|
151
163
|
# inactivity_days - int64 - Number of days of inactivity before the rule applies.
|
|
152
164
|
# name - string - Key Lifecycle Rule name
|
|
153
165
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
154
166
|
def self.create(params = {}, options = {})
|
|
167
|
+
raise InvalidParameterError.new("Bad parameter: expiration_days must be an Integer") if params[:expiration_days] and !params[:expiration_days].is_a?(Integer)
|
|
155
168
|
raise InvalidParameterError.new("Bad parameter: key_type must be an String") if params[:key_type] and !params[:key_type].is_a?(String)
|
|
156
169
|
raise InvalidParameterError.new("Bad parameter: inactivity_days must be an Integer") if params[:inactivity_days] and !params[:inactivity_days].is_a?(Integer)
|
|
157
170
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -163,6 +176,7 @@ module Files
|
|
|
163
176
|
|
|
164
177
|
# Parameters:
|
|
165
178
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
|
|
179
|
+
# expiration_days - int64 - Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
166
180
|
# key_type - string - Key type for which the rule will apply (gpg or ssh).
|
|
167
181
|
# inactivity_days - int64 - Number of days of inactivity before the rule applies.
|
|
168
182
|
# name - string - Key Lifecycle Rule name
|
|
@@ -171,6 +185,7 @@ module Files
|
|
|
171
185
|
params ||= {}
|
|
172
186
|
params[:id] = id
|
|
173
187
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
188
|
+
raise InvalidParameterError.new("Bad parameter: expiration_days must be an Integer") if params[:expiration_days] and !params[:expiration_days].is_a?(Integer)
|
|
174
189
|
raise InvalidParameterError.new("Bad parameter: key_type must be an String") if params[:key_type] and !params[:key_type].is_a?(String)
|
|
175
190
|
raise InvalidParameterError.new("Bad parameter: inactivity_days must be an Integer") if params[:inactivity_days] and !params[:inactivity_days].is_a?(Integer)
|
|
176
191
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -41,6 +41,24 @@ module Files
|
|
|
41
41
|
@attributes[:created_at]
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
# date-time - Public key expiration date/time
|
|
45
|
+
def expires_at
|
|
46
|
+
@attributes[:expires_at]
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def expires_at=(value)
|
|
50
|
+
@attributes[:expires_at] = value
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# boolean - Is this public key expired?
|
|
54
|
+
def expired
|
|
55
|
+
@attributes[:expired]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def expired=(value)
|
|
59
|
+
@attributes[:expired] = value
|
|
60
|
+
end
|
|
61
|
+
|
|
44
62
|
# string - Public key fingerprint (MD5)
|
|
45
63
|
def fingerprint
|
|
46
64
|
@attributes[:fingerprint]
|
|
@@ -244,11 +244,21 @@ module Files
|
|
|
244
244
|
@attributes[:ldap_port]
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
# boolean - Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
|
|
248
|
+
def ldap_provisioning_enabled
|
|
249
|
+
@attributes[:ldap_provisioning_enabled]
|
|
250
|
+
end
|
|
251
|
+
|
|
247
252
|
# boolean - Use secure LDAP?
|
|
248
253
|
def ldap_secure
|
|
249
254
|
@attributes[:ldap_secure]
|
|
250
255
|
end
|
|
251
256
|
|
|
257
|
+
# string - LDAP server type
|
|
258
|
+
def ldap_type
|
|
259
|
+
@attributes[:ldap_type]
|
|
260
|
+
end
|
|
261
|
+
|
|
252
262
|
# string - Username for signing in to LDAP server.
|
|
253
263
|
def ldap_username
|
|
254
264
|
@attributes[:ldap_username]
|
|
@@ -235,7 +235,7 @@ module Files
|
|
|
235
235
|
@attributes[:schedule_days_of_week] = value
|
|
236
236
|
end
|
|
237
237
|
|
|
238
|
-
# array(string) -
|
|
238
|
+
# array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
239
239
|
def schedule_times_of_day
|
|
240
240
|
@attributes[:schedule_times_of_day]
|
|
241
241
|
end
|
|
@@ -244,7 +244,7 @@ module Files
|
|
|
244
244
|
@attributes[:schedule_times_of_day] = value
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
-
# string -
|
|
247
|
+
# string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
248
248
|
def schedule_time_zone
|
|
249
249
|
@attributes[:schedule_time_zone]
|
|
250
250
|
end
|
|
@@ -253,7 +253,7 @@ module Files
|
|
|
253
253
|
@attributes[:schedule_time_zone] = value
|
|
254
254
|
end
|
|
255
255
|
|
|
256
|
-
# string -
|
|
256
|
+
# string - Skip sync if there is a formal, observed holiday for this region.
|
|
257
257
|
def holiday_region
|
|
258
258
|
@attributes[:holiday_region]
|
|
259
259
|
end
|
|
@@ -300,15 +300,15 @@ module Files
|
|
|
300
300
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
301
301
|
# disabled - boolean - Is this sync disabled?
|
|
302
302
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
303
|
-
# holiday_region - string -
|
|
303
|
+
# holiday_region - string - Skip sync if there is a formal, observed holiday for this region.
|
|
304
304
|
# include_patterns - array(string) - Array of glob patterns to include
|
|
305
305
|
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
306
306
|
# keep_after_copy - boolean - Keep files after copying?
|
|
307
307
|
# name - string - Name for this sync job
|
|
308
308
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
309
309
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
310
|
-
# schedule_time_zone - string -
|
|
311
|
-
# schedule_times_of_day - array(string) -
|
|
310
|
+
# schedule_time_zone - string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
311
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
312
312
|
# src_path - string - Absolute source path for the sync
|
|
313
313
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
314
314
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -410,15 +410,15 @@ module Files
|
|
|
410
410
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
411
411
|
# disabled - boolean - Is this sync disabled?
|
|
412
412
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
413
|
-
# holiday_region - string -
|
|
413
|
+
# holiday_region - string - Skip sync if there is a formal, observed holiday for this region.
|
|
414
414
|
# include_patterns - array(string) - Array of glob patterns to include
|
|
415
415
|
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
416
416
|
# keep_after_copy - boolean - Keep files after copying?
|
|
417
417
|
# name - string - Name for this sync job
|
|
418
418
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
419
419
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
420
|
-
# schedule_time_zone - string -
|
|
421
|
-
# schedule_times_of_day - array(string) -
|
|
420
|
+
# schedule_time_zone - string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
421
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
422
422
|
# src_path - string - Absolute source path for the sync
|
|
423
423
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
424
424
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -478,15 +478,15 @@ module Files
|
|
|
478
478
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
479
479
|
# disabled - boolean - Is this sync disabled?
|
|
480
480
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
481
|
-
# holiday_region - string -
|
|
481
|
+
# holiday_region - string - Skip sync if there is a formal, observed holiday for this region.
|
|
482
482
|
# include_patterns - array(string) - Array of glob patterns to include
|
|
483
483
|
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
484
484
|
# keep_after_copy - boolean - Keep files after copying?
|
|
485
485
|
# name - string - Name for this sync job
|
|
486
486
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
487
487
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
488
|
-
# schedule_time_zone - string -
|
|
489
|
-
# schedule_times_of_day - array(string) -
|
|
488
|
+
# schedule_time_zone - string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
489
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
490
490
|
# src_path - string - Absolute source path for the sync
|
|
491
491
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
492
492
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.614
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|